Skip to content

Commit 5baf67a

Browse files
committed
Tune pipeline
1 parent 336247c commit 5baf67a

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.github/workflows/build.yml

+15
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,18 @@ jobs:
4949

5050
- name: Run tests
5151
run: composer test
52+
53+
- name: Run Infection
54+
run: composer infection
55+
env:
56+
INFECTION_DASHBOARD_API_KEY: ${{ secrets.INFECTION_DASHBOARD_API_KEY }}
57+
58+
- name: Upload coverage to Codecov.io
59+
run: bash <(curl -s https://codecov.io/bash -s "build/logs")
60+
continue-on-error: true
61+
62+
- name: Upload coverage to Scrutinizer
63+
uses: sudo-bot/action-scrutinizer@latest
64+
with:
65+
cli-args: --format=php-clover build/logs/clover.xml
66+
continue-on-error: true

infection.json.dist

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"text": "build/logs/infection/infection.log",
1010
"summary": "build/logs/infection/summary.log",
1111
"perMutator": "build/logs/infection/per-mutator.md",
12-
"badge": {
13-
"branch": "master"
12+
"stryker": {
13+
"badge": "/^master$/"
1414
}
1515
}
1616
}

0 commit comments

Comments
 (0)