:octocat: send coverage to codacy

This commit is contained in:
smiley
2023-03-11 23:11:30 +01:00
parent fe9fa40374
commit 506d6aff8f
+7 -1
View File
@@ -84,7 +84,13 @@ jobs:
uses: ramsey/composer-install@v2
- name: "Run tests with phpunit"
run: php vendor/bin/phpunit --configuration=phpunit.xml
run: php vendor/bin/phpunit --configuration=phpunit.xml.dist
- name: "Send code coverage report to Codecov.io"
uses: codecov/codecov-action@v3
- name: "Send code coverage report to Codacy"
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: .build/coverage/clover.xml