@@ -268,7 +268,8 @@ 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
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
272
273
pip install pytest-timeout
273
274
- name : Display installed python package versions
274
275
run : pip list
@@ -374,7 +375,13 @@ jobs:
374
375
COVERALLS_FLAG_NAME : ${{ matrix.name }}
375
376
COVERALLS_PARALLEL : true
376
377
COVERALLS_SERVICE_NAME : github
377
- run : coveralls
378
+ PY_VERSION : ${{ matrix.python-version }}
379
+ run : |
380
+ if [[ $PY_VERSION == "2.6" ]]; then
381
+ COVERALLS_SKIP_SSL_VERIFY=1 coveralls
382
+ else
383
+ coveralls
384
+ fi
378
385
379
386
coveralls :
380
387
name : Indicate completion to coveralls.io
@@ -411,7 +418,8 @@ jobs:
411
418
key : sessions-${{ github.sha }}
412
419
- name : Install cosmic-ray
413
420
run : |
414
- pip3 install https://github.com/sixty-north/cosmic-ray/archive/master.zip
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
415
423
pip install pytest-timeout
416
424
- name : Install dependencies
417
425
run : |
@@ -487,14 +495,19 @@ jobs:
487
495
- name : Install build dependencies
488
496
run : |
489
497
pip install -r build-requirements.txt
490
- pip install https://github.com/sixty-north/cosmic-ray/archive/master.zip
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
491
500
pip install pytest-timeout
492
501
- name : Run mutation testing
493
502
run : |
494
503
cp sessions/session-${{ matrix.name }}.sqlite session.sqlite
495
504
systemd-run --user --scope -p MemoryMax=2G -p MemoryHigh=2G cosmic-ray exec cosmic-ray.toml session.sqlite &
496
505
cosmic_pid=$!
506
+ sleep 1
497
507
for i in $(seq 1 10); do
508
+ if ! kill -s 0 $cosmic_pid; then
509
+ break
510
+ fi
498
511
echo $i
499
512
sleep 60
500
513
done
@@ -635,7 +648,8 @@ jobs:
635
648
key : sessions-${{ github.sha }}-19-done
636
649
- name : Install cosmic-ray
637
650
run : |
638
- pip3 install https://github.com/sixty-north/cosmic-ray/archive/master.zip
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
639
653
pip install pytest-timeout
640
654
- name : Install dependencies
641
655
run : |
0 commit comments