-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -414,7 +414,7 @@ jobs: | |
needs: mutation-prepare | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- name: 0 | ||
|
@@ -467,7 +467,7 @@ 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=$! | ||
for i in $(seq 1 10); do | ||
for i in $(seq 1 2); do | ||
echo $i | ||
sleep 60 | ||
done | ||
|
@@ -616,16 +616,17 @@ jobs: | |
run: | | ||
cp sessions-done/session-0-done.sqlite session.sqlite | ||
for i in $(seq 1 19); do | ||
cp sessions-done/session-$i-done.sqlite session-to_merge.sqlite | ||
sqlite3 session.sqlite "$(cat sql/combine.sql)" | ||
cp sessions-done/session-$i-done.sqlite session-to_merge.sqlite && sqlite3 session.sqlite "$(cat sql/combine.sql)" || true | ||
done | ||
- name: Report executed | ||
run: | | ||
cr-report session.sqlite | tail -n 3 | ||
- name: Check survival estimate | ||
run: cr-rate --estimate --fail-over 32 --confidence 99.9 session.sqlite | ||
- name: Log survival estimate | ||
run: cr-rate --estimate --fail-over 32 --confidence 99.9 session.sqlite || true | ||
- name: Get mutation score | ||
run: echo "MUT_SCORE=$(python -c 'print(100-$(cr-rate session.sqlite))')" >> $GITHUB_ENV | ||
run: | | ||
echo "print(100-$(cr-rate session.sqlite))" > print-score.py | ||
echo "MUT_SCORE=$(python print-score.py)" >> $GITHUB_ENV | ||
- name: Create mutation score badge | ||
uses: schneegans/[email protected] | ||
with: | ||
|