Codecov setup with GitHub Actions

This commit is contained in:
Milos Stojanovic
2019-12-25 16:17:40 +01:00
parent ff74299c2a
commit b205a1c252

View File

@@ -28,4 +28,10 @@ jobs:
run: cp configuration_sample.php configuration.php
- name: Execute tests
run: vendor/bin/phpunit
run: vendor/bin/phpunit --coverage-clover=coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml