diff options
author | Nobuyoshi Nakada <[email protected]> | 2025-06-06 08:05:55 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2025-06-06 08:52:02 +0900 |
commit | 86eb5f9c0590f4a855c9158777b1a600b03b22b4 () | |
tree | 7cf7fc75f23aeb09fb34a45d624c9db87b9ae606 | |
parent | 43472a30014924f77790d9d05593546d19043fb5 (diff) |
CI: Trap launchable_record_test in the parent process
Notes: Merged: https://.com/ruby/ruby/pull/13535
-rwxr-xr-x | ./actions/compilers/entrypoint.sh | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -85,14 +85,7 @@ setup_launchable() { export LAUNCHABLE_SESSION_DIR=${builddir} local _ref="${_REF//\//_}" local build_name="${_ref}"_"${_PR_HEAD_SHA}" - btest_report_path='launchable_bootstraptest.json' - test_report_path='launchable_test_all.json' - test_spec_report_path='launchable_test_spec_report' - test_all_session_file='launchable_test_all_session.txt' - btest_session_file='launchable_btest_session.txt' - test_spec_session_file='launchable_test_spec_session.txt' btests+=--launchable-test-reports="${btest_report_path}" - echo "::group::Setup Launchable" launchable record build --name "${build_name}" || true launchable record session \ --build "${build_name}" \ @@ -135,8 +128,6 @@ setup_launchable() { > "${builddir}"/${test_spec_session_file} \ || true fi - echo "::endgroup::" - trap launchable_record_test EXIT } launchable_record_test() { pushd "${builddir}" @@ -147,10 +138,19 @@ launchable_record_test() { fi } if [ "$LAUNCHABLE_ENABLED" = "true" ]; then 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} |