mirror of https://github.com/apache/superset.git
chore: print test runtime (#17770)
* Print test runtime * revert me * duration for unit tests as well * Revert "revert me" This reverts commit b82d701d65f97ba617c4fc89e0ff56eee74885f2. Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
This commit is contained in:
parent
73ae892066
commit
bcd698d999
|
@ -51,7 +51,7 @@ jobs:
|
|||
- name: Python unit tests
|
||||
if: steps.check.outcome == 'failure'
|
||||
run: |
|
||||
pytest ./tests/unit_tests --cache-clear
|
||||
pytest --durations=0 ./tests/unit_tests --cache-clear
|
||||
- name: Upload code coverage
|
||||
if: steps.check.outcome == 'failure'
|
||||
run: |
|
||||
|
|
|
@ -31,4 +31,4 @@ superset db upgrade
|
|||
superset init
|
||||
|
||||
echo "Running tests"
|
||||
pytest --maxfail=1 --cov=superset $@
|
||||
pytest --durations=0 --maxfail=1 --cov=superset $@
|
||||
|
|
Loading…
Reference in New Issue