Skip to content

Commit af5a348

Browse files
committed
Mutation Testing: Create coverage in parallel
1 parent 911712a commit af5a348

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,12 +257,16 @@ jobs:
257257
restore-keys: |
258258
result-cache-v1-${{ matrix.php-version }}-
259259
260+
- name: "Create coverage"
261+
run: php -d pcov.enabled=1 tests/vendor/bin/paratest --passthru-php="'-d' 'pcov.enabled=1'" --runner WrapperRunner
262+
260263
- name: "Run infection"
261264
run: |
262265
git fetch --depth=1 origin ${{ steps.default-branch.outputs.name }}
263266
infection \
264267
--git-diff-base=origin/${{ steps.default-branch.outputs.name }} \
265268
--git-diff-lines \
269+
--skip-initial-tests \
266270
--ignore-msi-with-no-mutations \
267271
--min-msi=100 \
268272
--min-covered-msi=100 \

0 commit comments

Comments
 (0)