Skip to content

Commit

Permalink
feat(CI): clean up Python tests output (apache#19489)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmud authored and philipher29 committed Jun 9, 2022
1 parent f9f7519 commit 48d20c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/superset-python-unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion scripts/python_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"

0 comments on commit 48d20c1

Please sign in to comment.