Skip to content

Commit

Permalink
Revert "Show test issues as annotations in the GitHub Actions job sum…
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Aug 27, 2024
1 parent 15f0871 commit c07371c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion contrib/checkdiff.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion test/asm/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/fix/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/gfx/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/link/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c07371c

Please sign in to comment.