diff --git a/.github/workflows/superset-python-presto-hive.yml b/.github/workflows/superset-python-presto-hive.yml index 31043ea39..3a4022d89 100644 --- a/.github/workflows/superset-python-presto-hive.yml +++ b/.github/workflows/superset-python-presto-hive.yml @@ -80,7 +80,7 @@ jobs: - name: Python unit tests (PostgreSQL) if: steps.check.outcome == 'failure' run: | - ./scripts/python_tests.sh + ./scripts/python_tests.sh -m 'chart_data_flow or sql_json_flow' - name: Upload code coverage if: steps.check.outcome == 'failure' run: | @@ -158,7 +158,7 @@ jobs: - name: Python unit tests (PostgreSQL) if: steps.check.outcome == 'failure' run: | - ./scripts/python_tests.sh + ./scripts/python_tests.sh -m 'chart_data_flow or sql_json_flow' - name: Upload code coverage if: steps.check.outcome == 'failure' run: | diff --git a/scripts/python_tests.sh b/scripts/python_tests.sh index 9bf4ac035..36b2b8080 100755 --- a/scripts/python_tests.sh +++ b/scripts/python_tests.sh @@ -31,4 +31,5 @@ superset db upgrade superset init echo "Running tests" -pytest --durations=0 --maxfail=1 --cov=superset $@ + +pytest --durations=0 --maxfail=1 --cov=superset "$@" diff --git a/tests/integration_tests/sqllab_tests.py b/tests/integration_tests/sqllab_tests.py index 2dce2c11f..3c899d7d3 100644 --- a/tests/integration_tests/sqllab_tests.py +++ b/tests/integration_tests/sqllab_tests.py @@ -66,6 +66,7 @@ QUERY_2 = "SELECT * FROM NO_TABLE" QUERY_3 = "SELECT * FROM birth_names LIMIT 10" +@pytest.mark.sql_json_flow class TestSqlLab(SupersetTestCase): """Testings for Sql Lab"""