Skip to content

Commit 2904870

Browse files
EliahKaganclaude
andcommitted
ci: give tox workflow jobs a 60-minute time limit
The `tox` workflow's job had no `timeout-minutes`, so a hang, such as a stuck test, Git fetch, or build, would keep a runner busy for GitHub's default of 6 hours. Since the workflow runs unattended every week across eight jobs, that could recur unnoticed. Set `timeout-minutes: 60`. This should only stop a job that has hung. The `test` jobs on Ubuntu in `pythonpackage.yml` take 3 to 5 minutes, with a warm Cargo cache. A `tox` job has no Cargo cache, and the 3.12 and 3.13 jobs each build GixPython from source twice and run more environments, so they take longer, but should still take well under half of this. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 1bb2119 commit 2904870

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/tox.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
fail-fast: false
2929

3030
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
31+
timeout-minutes: 60
3132

3233
defaults:
3334
run:

0 commit comments

Comments
 (0)