Skip to content

Commit d894c55

Browse files
committed
Update build.yml
1 parent 47f3768 commit d894c55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ jobs:
180180

181181
- name: "Run infection"
182182
if: matrix.php-version == '8.2' || matrix.php-version == '8.3' || matrix.php-version == '8.4'
183-
run: vendor/bin/infection --git-diff-lines --ignore-msi-with-no-mutations --min-msi=100 --min-covered-msi=100
183+
run: |
184+
git fetch --depth=1 origin $GITHUB_BASE_REF
185+
infection --git-diff-base=origin/$GITHUB_BASE_REF --git-diff-filter=AM --ignore-msi-with-no-mutations --min-msi=100 --min-covered-msi=100
184186
185187
static-analysis:
186188
name: "PHPStan"

0 commit comments

Comments
 (0)