mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Merge pull request #7283 from sylvestre/inter
github action: do not fail the GNU test if only intermittent
This commit is contained in:
@@ -273,7 +273,7 @@ jobs:
|
||||
have_new_failures="true"
|
||||
else
|
||||
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 ""
|
||||
fi
|
||||
@@ -291,7 +291,7 @@ jobs:
|
||||
echo $MSG >> ${COMMENT_LOG}
|
||||
else
|
||||
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 ""
|
||||
fi
|
||||
@@ -340,7 +340,10 @@ jobs:
|
||||
# Compare root tests
|
||||
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)
|
||||
if: success() || failure() # run regardless of prior step success/failure
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user