Launchable: Exit 0 not to stop CI pipeline (#12449)
authorNaoto Ono <[email protected]>
Mon, 6 Jan 2025 10:49:58 +0000 (6 19:49 +0900)
committerGitHub <[email protected]>
Mon, 6 Jan 2025 10:49:58 +0000 (6 05:49 -0500)
.github/actions/compilers/entrypoint.sh

index cc8e6e4..c76c59d 100755 (executable)
@@ -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 \
@@ -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 \
@@ -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