diff --git a/.github/workflows/codacy-coverage-reporter.yaml b/.github/workflows/codacy-coverage-reporter.yaml deleted file mode 100644 index ca57aee..0000000 --- a/.github/workflows/codacy-coverage-reporter.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: Codacy Coverage Reporter - -on: ["push"] - -jobs: - codacy-coverage-reporter: - runs-on: ubuntu-latest - name: codacy-coverage-reporter - - steps: - - uses: actions/download-artifact@master - with: - name: clover.xml - path: build/logs - - shell: bash - env: - CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} - run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r clover.xml \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6ee3b8d..b262a61 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -48,6 +48,7 @@ jobs: - name: Execute tests run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml --exclude-group flaky - name: Coverage + if: ${{ matrix.php == '8.1' && matrix.deps == 'lowest' }} shell: bash env: CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}