Skip to content

Commit beb95b8

Browse files
committed
fix
1 parent 0d5a730 commit beb95b8

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,19 @@ jobs:
258258
result-cache-v1-${{ matrix.php-version }}-
259259
260260
- name: "Create coverage"
261-
run: php -d pcov.enabled=1 tests/vendor/bin/paratest --passthru-php="'-d' 'pcov.enabled=1'" --runner WrapperRunner
261+
run: |
262+
php -d pcov.enabled=1 tests/vendor/bin/paratest \
263+
--passthru-php="'-d' 'pcov.enabled=1'" \
264+
--runner WrapperRunner \
265+
--coverage-xml=coverage.xml
262266
263267
- name: "Run infection"
264268
run: |
265269
git fetch --depth=1 origin ${{ steps.default-branch.outputs.name }}
266270
infection \
267271
--git-diff-base=origin/${{ steps.default-branch.outputs.name }} \
268272
--git-diff-lines \
273+
--coverage=coverage.xml \
269274
--skip-initial-tests \
270275
--ignore-msi-with-no-mutations \
271276
--min-msi=100 \

phpunit.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,10 @@
1515
<group>levels</group>
1616
</exclude>
1717
</groups>
18+
<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
19+
<include>
20+
<directory>src</directory>
21+
</include>
22+
</source>
1823
<logging/>
1924
</phpunit>

0 commit comments

Comments
 (0)