diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 32a1a9f0..32d945ac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,8 @@ jobs: run: vendor/bin/phpunit code-coverages: runs-on: ubuntu-latest - needs: unit-test + needs: unit-tests + if: github.ref == 'refs/heads/master' steps: - name: Checkout project uses: actions/checkout@v1 @@ -24,4 +25,4 @@ jobs: uses: codecov/codecov-action@v4.0.1 with: token: ${{ secrets.CODECOV_TOKEN }} - file: coverage.xml \ No newline at end of file + file: coverage.xml