1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add more timeouts to macos, mjit, ubuntu and windows workflows.

This commit is contained in:
Samuel Williams 2020-07-18 22:02:07 +12:00
parent da0e8158c9
commit a3ac1bf450
Notes: git 2020-07-20 07:59:23 +09:00
4 changed files with 6 additions and 0 deletions

View file

@ -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"

View file

@ -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:

View file

@ -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"

View file

@ -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 }}