@@ -268,8 +268,7 @@ jobs:
268
268
- name : Install mutation testing dependencies
269
269
if : ${{ matrix.mutation == 'true' }}
270
270
run : |
271
- #pip install https://github.com/sixty-north/cosmic-ray/archive/master.zip
272
- pip install https://github.com/tomato42/cosmic-ray/archive/no-executed.zip
271
+ pip install https://github.com/sixty-north/cosmic-ray/archive/master.zip
273
272
pip install pytest-timeout
274
273
- name : Display installed python package versions
275
274
run : pip list
@@ -306,7 +305,9 @@ jobs:
306
305
cosmic_pid=$!
307
306
for i in $(seq 1 600); do
308
307
# wait for test execution at most 10 minutes
309
- kill -s 0 $cosmic_pid || break
308
+ if ! kill -s 0 $cosmic_pid; then
309
+ break
310
+ fi
310
311
sleep 1
311
312
done
312
313
kill $cosmic_pid || true
@@ -418,8 +419,7 @@ jobs:
418
419
key : sessions-${{ github.sha }}
419
420
- name : Install cosmic-ray
420
421
run : |
421
- #pip3 install https://github.com/sixty-north/cosmic-ray/archive/master.zip
422
- pip3 install https://github.com/tomato42/cosmic-ray/archive/no-executed.zip
422
+ pip3 install https://github.com/sixty-north/cosmic-ray/archive/master.zip
423
423
pip install pytest-timeout
424
424
- name : Install dependencies
425
425
run : |
@@ -495,8 +495,7 @@ jobs:
495
495
- name : Install build dependencies
496
496
run : |
497
497
pip install -r build-requirements.txt
498
- #pip install https://github.com/sixty-north/cosmic-ray/archive/master.zip
499
- pip install https://github.com/tomato42/cosmic-ray/archive/no-executed.zip
498
+ pip install https://github.com/sixty-north/cosmic-ray/archive/master.zip
500
499
pip install pytest-timeout
501
500
- name : Run mutation testing
502
501
run : |
@@ -511,7 +510,7 @@ jobs:
511
510
echo $i
512
511
sleep 60
513
512
done
514
- kill $cosmic_pid
513
+ kill -s 0 $cosmic_pid && kill $cosmic_pid
515
514
mkdir sessions-done/
516
515
cp session.sqlite sessions-done/session-${{ matrix.name }}-done.sqlite
517
516
- name : Report executed
@@ -648,8 +647,7 @@ jobs:
648
647
key : sessions-${{ github.sha }}-19-done
649
648
- name : Install cosmic-ray
650
649
run : |
651
- #pip3 install https://github.com/sixty-north/cosmic-ray/archive/master.zip
652
- pip3 install https://github.com/tomato42/cosmic-ray/archive/no-executed.zip
650
+ pip3 install https://github.com/sixty-north/cosmic-ray/archive/master.zip
653
651
pip install pytest-timeout
654
652
- name : Install dependencies
655
653
run : |
0 commit comments