Skip to content

Commit 6415651

Browse files
authored
Merge pull request #7283 from sylvestre/inter
github action: do not fail the GNU test if only intermittent
2 parents fd94d36 + 71248a1 commit 6415651

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/GnuTests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ jobs:
273273
have_new_failures="true"
274274
else
275275
MSG="Skip an intermittent issue ${LINE} (fails in this run but passes in the 'main' branch)"
276-
echo "::warning ::$MSG"
276+
echo "::notice ::$MSG"
277277
echo $MSG >> ${COMMENT_LOG}
278278
echo ""
279279
fi
@@ -291,7 +291,7 @@ jobs:
291291
echo $MSG >> ${COMMENT_LOG}
292292
else
293293
MSG="Skipping an intermittent issue ${LINE} (passes in this run but fails in the 'main' branch)"
294-
echo "::warning ::$MSG"
294+
echo "::notice ::$MSG"
295295
echo $MSG >> ${COMMENT_LOG}
296296
echo ""
297297
fi
@@ -340,7 +340,10 @@ jobs:
340340
# Compare root tests
341341
compare_tests '${{ steps.vars.outputs.path_GNU_tests }}/test-suite-root.log' "${ROOT_REF_LOG_FILE}" "root"
342342
343-
if test -n "${have_new_failures}" ; then exit -1 ; fi
343+
if [ -n "${have_new_failures}" ]; then
344+
echo "::error ::Found new test failures"
345+
exit 1
346+
fi
344347
- name: Upload comparison log (for GnuComment workflow)
345348
if: success() || failure() # run regardless of prior step success/failure
346349
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)