Skip to content

Commit 2195cb0

Browse files
committed
Codecov integration
1 parent f199651 commit 2195cb0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
run: vendor/bin/phpunit
1313
code-coverages:
1414
runs-on: ubuntu-latest
15-
needs: unit-test
15+
needs: unit-tests
16+
if: github.ref == 'refs/heads/master'
1617
steps:
1718
- name: Checkout project
1819
uses: actions/checkout@v1
@@ -24,4 +25,4 @@ jobs:
2425
uses: codecov/codecov-action@v4.0.1
2526
with:
2627
token: ${{ secrets.CODECOV_TOKEN }}
27-
file: coverage.xml
28+
file: coverage.xml

0 commit comments

Comments
 (0)