Skip to content

Commit

Permalink
Upload unit test log to gitlab artifacts for easier debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
meisterT committed Mar 23, 2024
1 parent d724f9f commit fa447fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gitlab/unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ if [ $UNITSUCCESS -eq 0 ]; then
else
STATE=failure
fi
cp webapp/var/log/test.log "$GITLABARTIFACTS"/test.log

curl https://api.github.com/repos/domjudge/domjudge/statuses/$CI_COMMIT_SHA \
-X POST \
-H "Authorization: token $GH_BOT_TOKEN_OBSCURED" \
Expand Down

0 comments on commit fa447fc

Please sign in to comment.