CI: Timeout launchable setup in 3min
This commit is contained in:
parent
296a0d0b7c
commit
5da3dc88d6
5
.github/actions/compilers/entrypoint.sh
vendored
5
.github/actions/compilers/entrypoint.sh
vendored
@ -147,7 +147,10 @@ launchable_record_test() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
if [ "$LAUNCHABLE_ENABLED" = "true" ]; then
|
if [ "$LAUNCHABLE_ENABLED" = "true" ]; then
|
||||||
setup_launchable
|
setup_launchable & setup_pid=$!
|
||||||
|
(sleep 180; kill "$setup_pid" 2> /dev/null) & sleep_pid=$!
|
||||||
|
wait -f "$setup_pid"
|
||||||
|
kill "$sleep_pid" 2> /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pushd ${builddir}
|
pushd ${builddir}
|
||||||
|
1
.github/workflows/macos.yml
vendored
1
.github/workflows/macos.yml
vendored
@ -124,6 +124,7 @@ jobs:
|
|||||||
builddir: build
|
builddir: build
|
||||||
srcdir: src
|
srcdir: src
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
timeout-minutes: 3
|
||||||
|
|
||||||
- name: Set extra test options
|
- name: Set extra test options
|
||||||
run: |
|
run: |
|
||||||
|
1
.github/workflows/mingw.yml
vendored
1
.github/workflows/mingw.yml
vendored
@ -127,6 +127,7 @@ jobs:
|
|||||||
srcdir: src
|
srcdir: src
|
||||||
test-tasks: '["test", "test-all", "test-spec"]'
|
test-tasks: '["test", "test-all", "test-spec"]'
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
timeout-minutes: 3
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
1
.github/workflows/modgc.yml
vendored
1
.github/workflows/modgc.yml
vendored
@ -140,6 +140,7 @@ jobs:
|
|||||||
builddir: build
|
builddir: build
|
||||||
srcdir: src
|
srcdir: src
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
timeout-minutes: 3
|
||||||
|
|
||||||
- name: make ${{ matrix.test_task }}
|
- name: make ${{ matrix.test_task }}
|
||||||
run: |
|
run: |
|
||||||
|
1
.github/workflows/ubuntu.yml
vendored
1
.github/workflows/ubuntu.yml
vendored
@ -116,6 +116,7 @@ jobs:
|
|||||||
builddir: build
|
builddir: build
|
||||||
srcdir: src
|
srcdir: src
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
timeout-minutes: 3
|
||||||
|
|
||||||
- name: make ${{ matrix.test_task }}
|
- name: make ${{ matrix.test_task }}
|
||||||
run: |
|
run: |
|
||||||
|
1
.github/workflows/windows.yml
vendored
1
.github/workflows/windows.yml
vendored
@ -188,6 +188,7 @@ jobs:
|
|||||||
test-task: ${{ matrix.test_task || 'check' }}
|
test-task: ${{ matrix.test_task || 'check' }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
if: ${{ matrix.test_task != 'test-bundled-gems' }}
|
if: ${{ matrix.test_task != 'test-bundled-gems' }}
|
||||||
|
timeout-minutes: 3
|
||||||
|
|
||||||
- run: nmake ${{ matrix.test_task || 'check' }}
|
- run: nmake ${{ matrix.test_task || 'check' }}
|
||||||
env:
|
env:
|
||||||
|
1
.github/workflows/yjit-macos.yml
vendored
1
.github/workflows/yjit-macos.yml
vendored
@ -158,6 +158,7 @@ jobs:
|
|||||||
LAUNCHABLE_STDOUT: ${{ steps.launchable.outputs.stdout_report_path }}
|
LAUNCHABLE_STDOUT: ${{ steps.launchable.outputs.stdout_report_path }}
|
||||||
LAUNCHABLE_STDERR: ${{ steps.launchable.outputs.stderr_report_path }}
|
LAUNCHABLE_STDERR: ${{ steps.launchable.outputs.stderr_report_path }}
|
||||||
continue-on-error: ${{ matrix.continue-on-test_task || false }}
|
continue-on-error: ${{ matrix.continue-on-test_task || false }}
|
||||||
|
timeout-minutes: 3
|
||||||
|
|
||||||
- name: make skipped tests
|
- name: make skipped tests
|
||||||
run: |
|
run: |
|
||||||
|
1
.github/workflows/yjit-ubuntu.yml
vendored
1
.github/workflows/yjit-ubuntu.yml
vendored
@ -208,6 +208,7 @@ jobs:
|
|||||||
LAUNCHABLE_STDOUT: ${{ steps.launchable.outputs.stdout_report_path }}
|
LAUNCHABLE_STDOUT: ${{ steps.launchable.outputs.stdout_report_path }}
|
||||||
LAUNCHABLE_STDERR: ${{ steps.launchable.outputs.stderr_report_path }}
|
LAUNCHABLE_STDERR: ${{ steps.launchable.outputs.stderr_report_path }}
|
||||||
continue-on-error: ${{ matrix.continue-on-test_task || false }}
|
continue-on-error: ${{ matrix.continue-on-test_task || false }}
|
||||||
|
timeout-minutes: 3
|
||||||
|
|
||||||
- name: Show ${{ github.event.pull_request.base.ref }} GitHub URL for yjit-bench comparison
|
- name: Show ${{ github.event.pull_request.base.ref }} GitHub URL for yjit-bench comparison
|
||||||
run: echo "https://github.com/${BASE_REPO}/commit/${BASE_SHA}"
|
run: echo "https://github.com/${BASE_REPO}/commit/${BASE_SHA}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user