1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

Merge pull request #7283 from sylvestre/inter

github action: do not fail the GNU test if only intermittent
This commit is contained in:
Daniel Hofstetter 2025-02-10 14:24:00 +01:00 committed by GitHub
commit 64156516f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -273,7 +273,7 @@ jobs:
have_new_failures="true" have_new_failures="true"
else else
MSG="Skip an intermittent issue ${LINE} (fails in this run but passes in the 'main' branch)" MSG="Skip an intermittent issue ${LINE} (fails in this run but passes in the 'main' branch)"
echo "::warning ::$MSG" echo "::notice ::$MSG"
echo $MSG >> ${COMMENT_LOG} echo $MSG >> ${COMMENT_LOG}
echo "" echo ""
fi fi
@ -291,7 +291,7 @@ jobs:
echo $MSG >> ${COMMENT_LOG} echo $MSG >> ${COMMENT_LOG}
else else
MSG="Skipping an intermittent issue ${LINE} (passes in this run but fails in the 'main' branch)" MSG="Skipping an intermittent issue ${LINE} (passes in this run but fails in the 'main' branch)"
echo "::warning ::$MSG" echo "::notice ::$MSG"
echo $MSG >> ${COMMENT_LOG} echo $MSG >> ${COMMENT_LOG}
echo "" echo ""
fi fi
@ -340,7 +340,10 @@ jobs:
# Compare root tests # Compare root tests
compare_tests '${{ steps.vars.outputs.path_GNU_tests }}/test-suite-root.log' "${ROOT_REF_LOG_FILE}" "root" compare_tests '${{ steps.vars.outputs.path_GNU_tests }}/test-suite-root.log' "${ROOT_REF_LOG_FILE}" "root"
if test -n "${have_new_failures}" ; then exit -1 ; fi if [ -n "${have_new_failures}" ]; then
echo "::error ::Found new test failures"
exit 1
fi
- name: Upload comparison log (for GnuComment workflow) - name: Upload comparison log (for GnuComment workflow)
if: success() || failure() # run regardless of prior step success/failure if: success() || failure() # run regardless of prior step success/failure
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4