Skip to content

Commit c99efd1

Browse files
committed
Update build.yml
1 parent 5d374d3 commit c99efd1

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/build.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,43 @@ jobs:
145145
- name: "Tests"
146146
run: "make tests"
147147

148+
mutating-testing:
149+
name: "Tests"
150+
runs-on: "ubuntu-latest"
151+
needs: "tests"
152+
153+
strategy:
154+
fail-fast: false
155+
matrix:
156+
php-version:
157+
- "8.2"
158+
- "8.3"
159+
- "8.4"
160+
161+
steps:
162+
- name: "Checkout"
163+
uses: actions/checkout@v5
164+
165+
- name: "Install PHP"
166+
uses: "shivammathur/setup-php@v2"
167+
with:
168+
coverage: "pcov"
169+
php-version: "${{ matrix.php-version }}"
170+
ini-file: development
171+
extensions: pdo, mysqli, pgsql, pdo_mysql, pdo_pgsql, pdo_sqlite, mongodb
172+
173+
- name: "Allow installing on PHP 8.4"
174+
if: matrix.php-version == '8.4'
175+
run: "composer config platform.php 8.3.99"
176+
177+
- name: "Install dependencies"
178+
run: "composer install --no-interaction --no-progress"
179+
180+
- name: "Run infection"
181+
if: matrix.php-version == '8.2' || matrix.php-version == '8.3' || matrix.php-version == '8.4'
182+
run: make infection
183+
#run: vendor/bin/infection --git-diff-filter=AM
184+
148185
static-analysis:
149186
name: "PHPStan"
150187
runs-on: "ubuntu-latest"

0 commit comments

Comments
 (0)