mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
CI: Continue without record if Launchable setup failed
This commit is contained in:
parent
78d2a2308f
commit
180214287e
Notes:
git
2025-06-06 05:03:47 +00:00
1 changed files with 4 additions and 3 deletions
7
.github/actions/compilers/entrypoint.sh
vendored
7
.github/actions/compilers/entrypoint.sh
vendored
|
@ -146,11 +146,12 @@ if [ "$LAUNCHABLE_ENABLED" = "true" ]; then
|
|||
btest_session_file='launchable_btest_session.txt'
|
||||
test_spec_session_file='launchable_test_spec_session.txt'
|
||||
setup_launchable & setup_pid=$!
|
||||
(sleep 180; kill "$setup_pid" 2> /dev/null) & sleep_pid=$!
|
||||
wait -f "$setup_pid"
|
||||
(sleep 180; echo "setup_launchable timed out; killing"; kill "$setup_pid" 2> /dev/null) & sleep_pid=$!
|
||||
launchable_failed=false
|
||||
wait -f "$setup_pid" || launchable_failed=true
|
||||
kill "$sleep_pid" 2> /dev/null
|
||||
echo "::endgroup::"
|
||||
trap launchable_record_test EXIT
|
||||
$launchable_failed || trap launchable_record_test EXIT
|
||||
fi
|
||||
|
||||
pushd ${builddir}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue