Skip to content

Commit

Permalink
Ensure we generate a junit report for infection
Browse files Browse the repository at this point in the history
  • Loading branch information
luispabon committed Jul 26, 2021
1 parent d1d2177 commit 67eb547
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ coverage-tests:
mutation-tests:
$(PHP_RUN) vendor/bin/infection --coverage=reports/infection --threads=2 -s --min-msi=0 --min-covered-msi=0

open-coverage-report:
xdg-open reports/phpunit/index.html

### Deployment targets

build-images:
Expand Down
4 changes: 4 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
<xml outputDirectory="reports/infection/coverage-xml"/>
</report>
</coverage>
<logging>
<!-- For infection -->
<junit outputFile="reports/infection/junit.xml"/>
</logging>

<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
Expand Down

0 comments on commit 67eb547

Please sign in to comment.