CI: Timeout launchable setup in 3min

This commit is contained in:
Nobuyoshi Nakada 2025-06-06 03:32:52 +09:00
parent 296a0d0b7c
commit 5da3dc88d6
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
8 changed files with 11 additions and 1 deletions

View File

@ -147,7 +147,10 @@ launchable_record_test() {
fi
}
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
pushd ${builddir}

View File

@ -124,6 +124,7 @@ jobs:
builddir: build
srcdir: src
continue-on-error: true
timeout-minutes: 3
- name: Set extra test options
run: |

View File

@ -127,6 +127,7 @@ jobs:
srcdir: src
test-tasks: '["test", "test-all", "test-spec"]'
continue-on-error: true
timeout-minutes: 3
- name: test
timeout-minutes: 30

View File

@ -140,6 +140,7 @@ jobs:
builddir: build
srcdir: src
continue-on-error: true
timeout-minutes: 3
- name: make ${{ matrix.test_task }}
run: |

View File

@ -116,6 +116,7 @@ jobs:
builddir: build
srcdir: src
continue-on-error: true
timeout-minutes: 3
- name: make ${{ matrix.test_task }}
run: |

View File

@ -188,6 +188,7 @@ jobs:
test-task: ${{ matrix.test_task || 'check' }}
continue-on-error: true
if: ${{ matrix.test_task != 'test-bundled-gems' }}
timeout-minutes: 3
- run: nmake ${{ matrix.test_task || 'check' }}
env:

View File

@ -158,6 +158,7 @@ jobs:
LAUNCHABLE_STDOUT: ${{ steps.launchable.outputs.stdout_report_path }}
LAUNCHABLE_STDERR: ${{ steps.launchable.outputs.stderr_report_path }}
continue-on-error: ${{ matrix.continue-on-test_task || false }}
timeout-minutes: 3
- name: make skipped tests
run: |

View File

@ -208,6 +208,7 @@ jobs:
LAUNCHABLE_STDOUT: ${{ steps.launchable.outputs.stdout_report_path }}
LAUNCHABLE_STDERR: ${{ steps.launchable.outputs.stderr_report_path }}
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
run: echo "https://github.com/${BASE_REPO}/commit/${BASE_SHA}"