Explorar o código

:octocat: send coverage to codacy

smiley %!s(int64=2) %!d(string=hai) anos
pai
achega
506d6aff8f
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      .github/workflows/tests.yml

+ 7 - 1
.github/workflows/tests.yml

@@ -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