mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 14:52:41 +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 }}'
|
||||
# https://github.com/uutils/coreutils/issues/4294
|
||||
# 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 }}
|
||||
|
||||
|
@ -226,9 +226,17 @@ jobs:
|
|||
for LINE in ${REF_FAILING}
|
||||
do
|
||||
if ! grep -Fxq ${LINE}<<<"${NEW_FAILING}"; then
|
||||
MSG="Congrats! The gnu test ${LINE} is no longer failing!"
|
||||
echo "::warning ::$MSG"
|
||||
echo $MSG >> ${COMMENT_LOG}
|
||||
if ! grep ${LINE} ${IGNORE_INTERMITTENT}
|
||||
then
|
||||
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
|
||||
done
|
||||
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…
Reference in a new issue