Skip to content

Commit e012503

Browse files
committed
Test phpstan-src
1 parent 96fb096 commit e012503

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
- "phpstan-deprecation-rules"
3434
#- "phpstan-dibi"
3535
#- "phpstan-strict-rules"
36-
#- "phpstan-src"
3736
fetch-depth:
3837
- 1
3938
script:
@@ -43,6 +42,18 @@ jobs:
4342
--log-verbosity=all \
4443
--debug \
4544
--logger-text=php://stdout
45+
include:
46+
- extension-name: "phpstan-src"
47+
fetch-depth: 101
48+
script: |
49+
OLD_SHA=$(git rev-list HEAD --skip=100 -n 1)
50+
infection \
51+
--git-diff-base=$OLD_SHA \
52+
--git-diff-lines \
53+
--ignore-msi-with-no-mutations \
54+
--log-verbosity=all \
55+
--debug \
56+
--logger-text=php://stdout
4657
4758
steps:
4859
- name: "Checkout extension"

0 commit comments

Comments
 (0)