Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
meisterT committed Aug 25, 2024
1 parent 6061737 commit d0b55e5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,11 @@ jobs:
run: sudo userdel -f -r domjudge-run-0 ; sudo useradd -d /nonexistent -g nogroup -s /bin/false -u 2222 domjudge-run-0
- name: Start judging
run: sudo -u domjudge sh -c 'cd /opt/domjudge/judgehost/ && nohup bin/judgedaemon -n 0 &'
- name: Sleep 5s
run: sleep 5
- name: Monitor judgehost log and stop once all submissions are judged
run: |
tail -f your_log_file.log | while read line; do
echo "$line"
if [[ "$line" == *"No submissions in queue"* ]]; then
break
fi
done

0 comments on commit d0b55e5

Please sign in to comment.