ruby-changes:62316
From: Samuel <ko1@a...>
Date: Mon, 20 Jul 2020 07:59:17 +0900 (JST)
Subject: [ruby-changes:62316] a3ac1bf450 (master): Add more timeouts to macos, mjit, ubuntu and windows workflows.
https://git.ruby-lang.org/ruby.git/commit/?id=a3ac1bf450 From a3ac1bf450d2aa0c6b0b34fee417992b4352ff2c Mon Sep 17 00:00:00 2001 From: Samuel Williams <samuel.williams@o...> Date: Sat, 18 Jul 2020 22:02:07 +1200 Subject: Add more timeouts to macos, mjit, ubuntu and windows workflows. diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index afd0c88..c58ae3a 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -46,6 +46,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L46 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 161c59b..9763c8b 100644 --- a/.github/workflows/mjit.yml +++ b/.github/workflows/mjit.yml @@ -48,10 +48,13 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mjit.yml#L48 - 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@v... with: diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 0d81666..87b57fa 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -68,6 +68,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L68 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 9c6b81d..eb04db5 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -61,6 +61,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L61 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 }} -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/