diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bed4c35..c0c4e3a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -80,6 +80,11 @@ jobs: # block the PR). When changes failed, docs_only is empty → heavy steps run. if: ${{ !cancelled() }} runs-on: ${{ matrix.os }} + # Bound a hung runner/test: the suite normally finishes in ~5 min, so a job + # still running at 15 fails fast (and is re-runnable) instead of pinning this + # REQUIRED check for the GitHub default of 6h — seen with a stalled macOS + # runner. bats-windows already sets its own timeout; this covers ubuntu/macos. + timeout-minutes: 15 strategy: # Cover both GNU (Linux) and BSD (macOS) userlands — the scripts shell out # to sed/stat/mktemp/ps etc. whose flags differ between them.