summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-07-18 22:02:07 +1200
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-07-20 10:58:57 +1200
commita3ac1bf450d2aa0c6b0b34fee417992b4352ff2c (patch)
treec28709d6df81c970e222f8c0e06c37c701629482 /.github
parentda0e8158c91a3e49fda3acc15c51a4339965289b (diff)
Add more timeouts to macos, mjit, ubuntu and windows workflows.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3329
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macos.yml1
-rw-r--r--.github/workflows/mjit.yml3
-rw-r--r--.github/workflows/ubuntu.yml1
-rw-r--r--.github/workflows/windows.yml1
4 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index afd0c88aa4..c58ae3af5a 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -46,6 +46,7 @@ jobs:
working-directory: build
if: matrix.test_task == 'check'
- run: make $JOBS -s ${{ matrix.test_task }}
+ timeout-minutes: 30
working-directory: build
env:
RUBY_TESTOPTS: "-q --tty=no"
diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml
index 161c59b797..9763c8b041 100644
--- a/.github/workflows/mjit.yml
+++ b/.github/workflows/mjit.yml
@@ -48,10 +48,13 @@ jobs:
- run: sudo make $JOBS -s install
working-directory: build
- run: make $JOBS -s test RUN_OPTS="$RUN_OPTS"
+ timeout-minutes: 10
working-directory: build
- run: make $JOBS -s test-all RUN_OPTS="$RUN_OPTS"
+ timeout-minutes: 10
working-directory: build
- run: make $JOBS -s test-spec RUN_OPTS="$RUN_OPTS"
+ timeout-minutes: 5
working-directory: build
- uses: k0kubun/action-slack@v2.0.0
with:
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 0d81666e13..87b57fadbf 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -68,6 +68,7 @@ jobs:
working-directory: build
if: matrix.test_task == 'check'
- run: make $JOBS -s ${{ matrix.test_task }}
+ timeout-minutes: 30
working-directory: build
env:
RUBY_TESTOPTS: "-q --tty=no"
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 9c6b81d1d2..eb04db5123 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -61,6 +61,7 @@ jobs:
working-directory: build
shell: cmd
- name: nmake test
+ timeout-minutes: 30
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
nmake ${{ matrix.test_task }}