mirror of https://github.com/apache/superset.git
ci: make presto hive tests to cover only chartData and sqljson (#17782)
* chore: make presto hive tests to cover only chartData and sqljson * fix: single quote * fix: add eval for arguments * fix: add double quotes on args * chore: add @pytest.mark.sql_json_flow * fix: pre-commit
This commit is contained in:
parent
8ebec6016e
commit
4954d52329
|
@ -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: |
|
||||
|
|
|
@ -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 "$@"
|
||||
|
|
|
@ -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"""
|
||||
|
||||
|
|
Loading…
Reference in New Issue