Skip to content

Commit eb78b0e

Browse files
committed
Add durations to pytest in CI.
1 parent a3f9ce9 commit eb78b0e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/code_test_and_deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
if: runner.os == 'Linux'
7474
run: |
7575
sudo service mysql stop # free up port 3306 for ssh tests
76-
pytest tests/tests_transfers/ssh
76+
pytest --durations=0 tests/tests_transfers/ssh
7777
7878
- name: Test Google Drive
7979
env:
@@ -82,7 +82,7 @@ jobs:
8282
GDRIVE_ROOT_FOLDER_ID: ${{ secrets.GDRIVE_ROOT_FOLDER_ID }}
8383
GDRIVE_CONFIG_TOKEN: ${{ secrets.GDRIVE_CONFIG_TOKEN }}
8484
run: |
85-
pytest tests/tests_transfers/gdrive
85+
pytest --durations=0 tests/tests_transfers/gdrive
8686
8787
- name: Test AWS
8888
env:
@@ -91,11 +91,11 @@ jobs:
9191
AWS_REGION: ${{ secrets.AWS_REGION }}
9292
AWS_BUCKET_NAME: ${{ secrets.AWS_BUCKET_NAME }}
9393
run: |
94-
pytest tests/tests_transfers/aws
94+
pytest --durations=0 tests/tests_transfers/aws
9595
9696
- name: All Other Tests
9797
run: |
98-
pytest --ignore=tests/tests_transfers/ssh --ignore=tests/tests_transfers/gdrive --ignore=tests/tests_transfers/aws
98+
pytest --durations=0 --ignore=tests/tests_transfers/ssh --ignore=tests/tests_transfers/gdrive --ignore=tests/tests_transfers/aws
9999
100100
101101
build_sdist_wheels:

0 commit comments

Comments
 (0)