mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #4541 from sylvestre/intermittent
CI: Also ignore intermittent when starting to pass
This commit is contained in:
commit
722b4aae5e
2 changed files with 15 additions and 4 deletions
16
.github/workflows/GnuTests.yml
vendored
16
.github/workflows/GnuTests.yml
vendored
|
@ -203,7 +203,7 @@ jobs:
|
||||||
REPO_DEFAULT_BRANCH='${{ steps.vars.outputs.repo_default_branch }}'
|
REPO_DEFAULT_BRANCH='${{ steps.vars.outputs.repo_default_branch }}'
|
||||||
# https://github.com/uutils/coreutils/issues/4294
|
# https://github.com/uutils/coreutils/issues/4294
|
||||||
# https://github.com/uutils/coreutils/issues/4295
|
# https://github.com/uutils/coreutils/issues/4295
|
||||||
IGNORE_INTERMITTENT='tests/tail-2/inotify-dir-recreate tests/misc/timeout tests/rm/rm1'
|
IGNORE_INTERMITTENT='.github/workflows/ignore-intermittent.txt'
|
||||||
|
|
||||||
mkdir -p ${{ steps.vars.outputs.path_reference }}
|
mkdir -p ${{ steps.vars.outputs.path_reference }}
|
||||||
|
|
||||||
|
@ -226,9 +226,17 @@ jobs:
|
||||||
for LINE in ${REF_FAILING}
|
for LINE in ${REF_FAILING}
|
||||||
do
|
do
|
||||||
if ! grep -Fxq ${LINE}<<<"${NEW_FAILING}"; then
|
if ! grep -Fxq ${LINE}<<<"${NEW_FAILING}"; then
|
||||||
MSG="Congrats! The gnu test ${LINE} is no longer failing!"
|
if ! grep ${LINE} ${IGNORE_INTERMITTENT}
|
||||||
echo "::warning ::$MSG"
|
then
|
||||||
echo $MSG >> ${COMMENT_LOG}
|
MSG="Congrats! The gnu test ${LINE} is no longer failing!"
|
||||||
|
echo "::warning ::$MSG"
|
||||||
|
echo $MSG >> ${COMMENT_LOG}
|
||||||
|
else
|
||||||
|
MSG="Skipping an intermittent issue ${LINE}"
|
||||||
|
echo "::warning ::$MSG"
|
||||||
|
echo $MSG >> ${COMMENT_LOG}
|
||||||
|
echo ""
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
for LINE in ${NEW_FAILING}
|
for LINE in ${NEW_FAILING}
|
||||||
|
|
3
.github/workflows/ignore-intermittent.txt
vendored
Normal file
3
.github/workflows/ignore-intermittent.txt
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
tests/tail-2/inotify-dir-recreate
|
||||||
|
tests/misc/timeout
|
||||||
|
tests/rm/rm1
|
Loading…
Add table
Add a link
Reference in a new issue