Skip to content

Commit edd5a37

Browse files
authored
Fix mutation testing (#63)
1 parent 1467448 commit edd5a37

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/mutation.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- 'psalm.xml'
1010

1111
push:
12+
branches:
13+
- master
1214
paths-ignore:
1315
- 'docs/**'
1416
- 'README.md'
@@ -30,11 +32,8 @@ jobs:
3032

3133
strategy:
3234
matrix:
33-
os:
34-
- ubuntu-latest
35-
36-
php:
37-
- 8.1
35+
os: ['ubuntu-latest']
36+
php: ['8.3']
3837

3938
steps:
4039
- name: Install service memcached
@@ -70,6 +69,6 @@ jobs:
7069

7170
- name: Run infection
7271
run: |
73-
vendor/bin/roave-infection-static-analysis-plugin -j2 --ignore-msi-with-no-mutations --only-covered
72+
vendor/bin/roave-infection-static-analysis-plugin --threads=2 --ignore-msi-with-no-mutations --only-covered
7473
env:
7574
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

0 commit comments

Comments
 (0)