Skip to content

Commit

Permalink
♻️ codeclimate, added a few tests and fix a few bugs
Browse files Browse the repository at this point in the history
Signed-off-by: bnomei <[email protected]>
  • Loading branch information
bnomei committed Jul 21, 2024
1 parent c3a7c9a commit dc39062
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pest-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
debug: true
coverageCommand: composer coverage
coverageLocations: ${{github.workspace}}/clover.xml:clover
coverageLocations: ${{github.workspace}}/tests/clover.xml:clover
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"test": "./vendor/bin/pest",
"coverage": [
"php tests/patch.php",
"./vendor/bin/pest --coverage"
"php ./vendor/bin/pest --coverage --coverage-clover=tests/clover.xml"
],
"dist": [
"npm run format",
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</php>
<coverage>
<report>
<clover outputFile="clover.xml"/>
<clover outputFile="tests/clover.xml"/>
</report>
</coverage>
<source>
Expand Down

0 comments on commit dc39062

Please sign in to comment.