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 dc39062 commit d72ea8e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pest-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ jobs:
- name: Test & publish code coverage
uses: paambaati/[email protected]
with:
debug: true
coverageCommand: composer coverage
coverageLocations: ${{github.workspace}}/tests/clover.xml:clover
coverageLocations: ${{github.workspace}}/build/logs/clover.xml:clover
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ node_modules
/tests/site/backups/
/tests/site/graveyard/
/tests/clover.xml
/build/logs/clover.xml
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",
"php ./vendor/bin/pest --coverage --coverage-clover=tests/clover.xml"
"php ./vendor/bin/pest --coverage --coverage-clover=build/logs/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="tests/clover.xml"/>
<clover outputFile="build/logs/clover.xml"/>
</report>
</coverage>
<source>
Expand Down

0 comments on commit d72ea8e

Please sign in to comment.