Skip to content

Commit

Permalink
Merge pull request #7 from feature-ninja/feature/code-coverage
Browse files Browse the repository at this point in the history
Improve code coverage
  • Loading branch information
rojtjo authored Sep 11, 2024
2 parents fe9ba2d + 9244d0d commit 5ea92bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,12 @@ jobs:

- name: Execute tests
run: vendor/bin/phpunit
env:
XDEBUG_MODE: coverage

- name: Upload to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./build/coverage.xml
verbose: true
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<report>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
<clover outputFile="build/logs/clover.xml"/>
<clover outputFile="build/coverage.xml"/>
</report>
</coverage>
<logging>
Expand Down

0 comments on commit 5ea92bb

Please sign in to comment.