Skip to content

Commit 217735b

Browse files
committed
allow early exit from worker processes when running mutation testing
1 parent 6e7adff commit 217735b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,11 @@ jobs:
503503
cp sessions/session-${{ matrix.name }}.sqlite session.sqlite
504504
systemd-run --user --scope -p MemoryMax=2G -p MemoryHigh=2G cosmic-ray exec cosmic-ray.toml session.sqlite &
505505
cosmic_pid=$!
506+
sleep 1
506507
for i in $(seq 1 10); do
508+
if ! kill -s 0 $cosmic_pid; then
509+
break
510+
fi
507511
echo $i
508512
sleep 60
509513
done

0 commit comments

Comments
 (0)