Skip to content

Commit 3054e1c

Browse files
authored
Merge pull request #50 from itk-dev/ci/mutation-tests-php-version
ci: name the PHP version and dependency set in the mutation-tests job
2 parents 5e74d38 + 758845b commit 3054e1c

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/php.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,14 @@ jobs:
8787
flags: unittests
8888

8989
mutation-tests:
90-
name: Mutation tests
90+
name: Mutation tests (${{ matrix.php }}, ${{ matrix.prefer }})
9191
runs-on: ubuntu-latest
92+
strategy:
93+
matrix:
94+
include:
95+
- service: phpfpm
96+
php: "8.3"
97+
prefer: prefer-stable
9298
steps:
9399
- uses: actions/checkout@v6
94100

@@ -106,7 +112,7 @@ jobs:
106112
env:
107113
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
108114
run: |
109-
docker compose run --rm phpfpm composer install
115+
docker compose run --rm ${{ matrix.service }} composer install
110116
docker compose run --rm \
111117
-e XDEBUG_MODE=coverage \
112118
-e GITHUB_ACTIONS \
@@ -118,4 +124,4 @@ jobs:
118124
-e GITHUB_RUN_ID \
119125
-e GITHUB_SERVER_URL \
120126
-e STRYKER_DASHBOARD_API_KEY \
121-
phpfpm vendor/bin/infection --logger-github
127+
${{ matrix.service }} vendor/bin/infection --logger-github

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818

1919
### Changed
2020

21+
- CI: the mutation-tests job declares its PHP version and dependency set
22+
via a single-entry matrix (`Mutation tests (8.3, prefer-stable)`), so
23+
the job name makes explicit what mutation testing runs on. No effect on
24+
the published package.
2125
- Dev: test fixtures use RFC 2606 reserved domains only —
2226
`provider.example.org` for IdP-side URLs (metadata, authorization) and
2327
`app.example.org` for application-side URLs (redirect/callback, CLI

0 commit comments

Comments
 (0)