[CIs] report slow tests add --durations=0 to some pytest jobs (#7884)

* add --durations=50 to some pytest runs

* report all tests
This commit is contained in:
Stas Bekman
2020-10-19 05:23:14 -07:00
committed by GitHub
parent 4eb61f8e88
commit 805a202e1a
2 changed files with 5 additions and 5 deletions

View File

@@ -59,7 +59,7 @@ jobs:
RUN_SLOW: yes
run: |
source .env/bin/activate
python -m pytest -n 1 --dist=loadfile -s ./tests/
python -m pytest -n 1 --dist=loadfile -s ./tests/ --durations=0
- name: Run examples tests on GPU
env:
@@ -69,7 +69,7 @@ jobs:
run: |
source .env/bin/activate
pip install -r examples/requirements.txt
python -m pytest -n 1 --dist=loadfile -s examples
python -m pytest -n 1 --dist=loadfile -s examples --durations=0
run_all_tests_torch_and_tf_multiple_gpu:
runs-on: [self-hosted, multi-gpu]
@@ -120,7 +120,7 @@ jobs:
RUN_SLOW: yes
run: |
source .env/bin/activate
python -m pytest -n 1 --dist=loadfile -s ./tests/
python -m pytest -n 1 --dist=loadfile -s ./tests/ --durations=0
- name: Run examples tests on GPU
env:
@@ -130,4 +130,4 @@ jobs:
run: |
source .env/bin/activate
pip install -r examples/requirements.txt
python -m pytest -n 1 --dist=loadfile -s examples
python -m pytest -n 1 --dist=loadfile -s examples --durations=0