Skip to content

Commit 23e35dc

Browse files
committed
✅ Add timeouts to CI workflow
1 parent d2db0a2 commit 23e35dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- { ruby: head, os: windows-latest, experimental: true }
2727
runs-on: ${{ matrix.os }}
2828
continue-on-error: ${{ matrix.experimental }}
29+
timeout-minutes: 15
2930
steps:
3031
- uses: actions/checkout@v4
3132
- name: Set up Ruby
@@ -36,6 +37,7 @@ jobs:
3637
rubygems: 3.5.14
3738
- name: Run test
3839
run: bundle exec rake test
40+
timeout-minutes: 5 # _should_ finish in under a minute
3941

4042
- uses: joshmfrankel/simplecov-check-action@main
4143
if: matrix.os == 'ubuntu-latest' && github.event_name != 'pull_request'

0 commit comments

Comments
 (0)