Skip to content

Commit

Permalink
Fixed experimental code to control test case selection
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed May 22, 2024
1 parent c8d98d0 commit ba50118
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
steps:
- name: Experiment Set GitHub Env
if: "! contains(github.event.head_commit.message, '[run-slow-tests]')"
run: echo "RUN_SLOW_TESTS=-m not slow" >> $GITHUB_ENV
run: echo 'RUN_SLOW_TESTS=-m "not slow"' >> $GITHUB_ENV

- name: Experiment Evaluate GitHub Env
if: "! contains(github.event.head_commit.message, '[run-slow-tests]')"
Expand Down
6 changes: 6 additions & 0 deletions test/integration/connection_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import pytest
import pyexasol
from exasol.saas.client.api_access import get_connection_params

Expand Down Expand Up @@ -34,3 +35,8 @@ def test_get_connection_params_with_name(saas_host, saas_pat, saas_account_id,
with pyexasol.connect(**connection_params) as pyconn:
result = pyconn.execute('SELECT 1;').fetchall()
assert result == [(1,)]


@pytest.mark.slow
def test_xxx():
print("\ntest case xxx")

0 comments on commit ba50118

Please sign in to comment.