From c07371c9fcf821669f5c160652c8aec58f14321c Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Tue, 27 Aug 2024 14:07:35 -0400 Subject: [PATCH] Revert "Show test issues as annotations in the GitHub Actions job summary" This reverts commit 3a5ff359282034e4f479bf9e4e9190125a658ab7. Annotations were not actually appearing. --- contrib/checkdiff.bash | 2 +- test/asm/test.sh | 2 +- test/fix/test.sh | 2 +- test/gfx/test.sh | 2 +- test/link/test.sh | 2 +- test/run-tests.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/checkdiff.bash b/contrib/checkdiff.bash index cfcef13d..57cf8e99 100755 --- a/contrib/checkdiff.bash +++ b/contrib/checkdiff.bash @@ -13,7 +13,7 @@ edited () { dependency () { if edited "$1" && ! edited "$2"; then - echo >&2 "::warning '$1' was modified, but not '$2'! $3" | xargs + echo "'$1' was modified, but not '$2'! $3" | xargs fi } diff --git a/test/asm/test.sh b/test/asm/test.sh index f1c89f51..6d75e958 100755 --- a/test/asm/test.sh +++ b/test/asm/test.sh @@ -169,7 +169,7 @@ done if [[ "$failed" -eq 0 ]]; then echo "${bold}${green}All ${tests} tests passed!${rescolors}${resbold}" else - echo "::warning ${bold}${red}${failed} of the RGBASM tests failed!${rescolors}${resbold}" + echo "${bold}${red}${failed} of the tests failed!${rescolors}${resbold}" fi exit $rc diff --git a/test/fix/test.sh b/test/fix/test.sh index e9fc4491..360ef758 100755 --- a/test/fix/test.sh +++ b/test/fix/test.sh @@ -125,7 +125,7 @@ rc=$((rc || $?)) if [[ "$failed" -eq 0 ]]; then echo "${bold}${green}All ${tests} tests passed!${rescolors}${resbold}" else - echo "::warning ${bold}${red}${failed} of the RGBFIX tests failed!${rescolors}${resbold}" + echo "${bold}${red}${failed} of the tests failed!${rescolors}${resbold}" fi exit $rc diff --git a/test/gfx/test.sh b/test/gfx/test.sh index c3a44f0c..8de74318 100755 --- a/test/gfx/test.sh +++ b/test/gfx/test.sh @@ -104,7 +104,7 @@ done if [[ "$failed" -eq 0 ]]; then echo "${bold}${green}All ${tests} tests passed!${rescolors}${resbold}" else - echo "::warning ${bold}${red}${failed} of the RGBGFX tests failed!${rescolors}${resbold}" + echo "${bold}${red}${failed} of the tests failed!${rescolors}${resbold}" fi exit $rc diff --git a/test/link/test.sh b/test/link/test.sh index a6615c8b..c66343f4 100755 --- a/test/link/test.sh +++ b/test/link/test.sh @@ -331,7 +331,7 @@ evaluateTest if [[ "$failed" -eq 0 ]]; then echo "${bold}${green}All ${tests} tests passed!${rescolors}${resbold}" else - echo "::warning ${bold}${red}${failed} of the RGBLINK tests failed!${rescolors}${resbold}" + echo "${bold}${red}${failed} of the tests failed!${rescolors}${resbold}" fi exit $rc diff --git a/test/run-tests.sh b/test/run-tests.sh index bd31494b..d8985ed8 100755 --- a/test/run-tests.sh +++ b/test/run-tests.sh @@ -63,7 +63,7 @@ test_downstream() { # owner repo make-target build-file build-hash make -j4 "$3" RGBDS=../../ hash="$(sha1sum -b "$4" | head -c 40)" if [ "$hash" != "$5" ]; then - echo >&2 '::warning SHA-1 hash of '"$4"' did not match: '"$hash" + echo >&2 'SHA-1 hash of '"$4"' did not match: '"$hash" return 1 fi popd