Skip to content

Commit 6f37251

Browse files
authored
Merge pull request #295 from lloc/chore
Codecov integration
2 parents f199651 + 2195cb0 commit 6f37251

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

+3-2
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/[email protected]
2526
with:
2627
token: ${{ secrets.CODECOV_TOKEN }}
27-
file: coverage.xml
28+
file: coverage.xml

0 commit comments

Comments
 (0)