Skip to content

Commit

Permalink
Launchable: Exit 0 not to stop CI pipeline (ruby#12449)
Browse files Browse the repository at this point in the history
  • Loading branch information
ono-max authored Jan 6, 2025
1 parent 54bd5e0 commit e0591b6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/actions/compilers/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ setup_launchable() {
--flavor optflags="${INPUT_OPTFLAGS}" \
--flavor cppflags="${INPUT_CPPFLAGS}" \
--test-suite btest \
> "${builddir}"/${btest_session_file}
> "${builddir}"/${btest_session_file} \
|| true
if [ "$INPUT_CHECK" = "true" ]; then
tests+=--launchable-test-reports="${test_report_path}"
launchable record session \
Expand All @@ -114,7 +115,8 @@ setup_launchable() {
--flavor optflags="${INPUT_OPTFLAGS}" \
--flavor cppflags="${INPUT_CPPFLAGS}" \
--test-suite test-all \
> "${builddir}"/${test_all_session_file}
> "${builddir}"/${test_all_session_file} \
|| true
mkdir "${builddir}"/"${test_spec_report_path}"
spec_opts+=--launchable-test-reports="${test_spec_report_path}"
launchable record session \
Expand All @@ -127,7 +129,8 @@ setup_launchable() {
--flavor optflags="${INPUT_OPTFLAGS}" \
--flavor cppflags="${INPUT_CPPFLAGS}" \
--test-suite test-spec \
> "${builddir}"/${test_spec_session_file}
> "${builddir}"/${test_spec_session_file} \
|| true
fi
echo "::endgroup::"
trap launchable_record_test EXIT
Expand Down

0 comments on commit e0591b6

Please sign in to comment.