diff --git a/.github/workflows/pest-tests.yml b/.github/workflows/pest-tests.yml index 478b9eb..3a31d17 100644 --- a/.github/workflows/pest-tests.yml +++ b/.github/workflows/pest-tests.yml @@ -29,9 +29,8 @@ jobs: - name: Test & publish code coverage uses: paambaati/codeclimate-action@v8.0.0 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 }} diff --git a/.gitignore b/.gitignore index 29a6895..cca6227 100755 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ node_modules /tests/site/backups/ /tests/site/graveyard/ /tests/clover.xml +/build/logs/clover.xml diff --git a/composer.json b/composer.json index 7a1003d..e06e93a 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/phpunit.xml b/phpunit.xml index 5a1159f..31df2e2 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -17,7 +17,7 @@ - +