feat(CI): clean up Python tests output (#19489)

This commit is contained in:
Jesse Yang 2022-04-03 16:27:43 -07:00 committed by GitHub
parent 60dcd651f4
commit ea708162a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ jobs:
- name: Python unit tests
if: steps.check.outcome == 'failure'
run: |
pytest --durations=0 ./tests/common ./tests/unit_tests --cache-clear
pytest --durations-min=0.5 --cov-report= --cov=superset ./tests/common ./tests/unit_tests --cache-clear
- name: Upload code coverage
if: steps.check.outcome == 'failure'
run: |

View File

@ -32,4 +32,4 @@ superset init
echo "Running tests"
pytest --durations=0 --maxfail=1 --cov=superset "$@"
pytest --durations-min=2 --maxfail=1 --cov-report= --cov=superset "$@"