Skip to content

Commit 772e0f0

Browse files
authored
Show runtime for ten slowest tests
1 parent 413247b commit 772e0f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,16 @@ jobs:
143143
- name: Run main tests
144144
if: matrix.test == 'main'
145145
# running the "main" tests means "all tests that aren't auth"
146-
run: pytest -m "not auth" -vx --cov binderhub --durations=0
146+
run: pytest -m "not auth" -vx --cov binderhub --durations=10
147147
- name: Run auth tests
148148
if: matrix.test == 'auth'
149149
# running the "auth" tests means "all tests that are marked as auth"
150-
run: pytest -m "auth" -vx --cov binderhub --durations=0
150+
run: pytest -m "auth" -vx --cov binderhub --durations=10
151151
- name: Run helm tests
152152
if: matrix.test == 'helm'
153153
run: |
154154
export BINDER_URL=http://localhost:30901
155-
pytest -m "remote" -vx --cov binderhub --durations=0
155+
pytest -m "remote" -vx --cov binderhub --durations=10
156156
- name: Kubernetes namespace report
157157
if: ${{ failure() }}
158158
run: |

0 commit comments

Comments
 (0)