Skip to content

Commit

Permalink
allow early exit from worker processes when running mutation testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tomato42 committed Apr 8, 2024
1 parent 6e7adff commit 217735b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,11 @@ jobs:
cp sessions/session-${{ matrix.name }}.sqlite session.sqlite
systemd-run --user --scope -p MemoryMax=2G -p MemoryHigh=2G cosmic-ray exec cosmic-ray.toml session.sqlite &
cosmic_pid=$!
sleep 1
for i in $(seq 1 10); do
if ! kill -s 0 $cosmic_pid; then
break
fi
echo $i
sleep 60
done
Expand Down

0 comments on commit 217735b

Please sign in to comment.