mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +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:
commit
64156516f8
1 changed files with 6 additions and 3 deletions
9
.github/workflows/GnuTests.yml
vendored
9
.github/workflows/GnuTests.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue