Skip to content

Commit a2e1e8b

Browse files
committed
Add a 10-minute timeout to tests
The default is six hours for the whole job. We've been seeing PyTest freezing during some macOS runs. Not sure what's up, but at least we can not wait for a six hour timeout. Most tests seem to take between two and three minutes, so this seems like quite a generous timeout.
1 parent 8f0060c commit a2e1e8b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,11 @@ jobs:
107107
run: python -m pip install tensorflow
108108

109109
- name: Tests (GNU/Linux)
110+
timeout-minutes: 10
110111
if: matrix.os.name == 'linux'
111112
run: xvfb-run python -m pytest
112113
- name: Tests (macOS, Windows)
114+
timeout-minutes: 10
113115
if: matrix.os.name != 'linux'
114116
run: python -m pytest
115117

0 commit comments

Comments
 (0)