Skip to content

Commit 96fb096

Browse files
committed
Get ready to test phpstan-src
1 parent 110e239 commit 96fb096

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,22 @@ jobs:
3434
#- "phpstan-dibi"
3535
#- "phpstan-strict-rules"
3636
#- "phpstan-src"
37+
fetch-depth:
38+
- 1
39+
script:
40+
- |
41+
infection \
42+
--ignore-msi-with-no-mutations \
43+
--log-verbosity=all \
44+
--debug \
45+
--logger-text=php://stdout
3746
3847
steps:
3948
- name: "Checkout extension"
4049
uses: actions/checkout@v5
4150
with:
4251
repository: "phpstan/${{ matrix.extension-name }}"
52+
fetch-depth: ${{ matrix.fetch-depth }}
4353

4454
- name: "Checkout build-infection"
4555
uses: actions/checkout@v5
@@ -72,12 +82,7 @@ jobs:
7282
result-cache-v1-${{ matrix.extension-name }}-
7383
7484
- name: "Run infection"
75-
run: |
76-
infection \
77-
--ignore-msi-with-no-mutations \
78-
--log-verbosity=all \
79-
--debug \
80-
--logger-text=php://stdout
85+
run: ${{ matrix.script }}
8186

8287
- name: "Save result cache"
8388
uses: actions/cache/save@v4

0 commit comments

Comments
 (0)