Replaced scrutinizer with codecov

This commit is contained in:
Alejandro Celaya
2020-12-19 10:25:19 +01:00
parent 71a83aa384
commit 3a4a2e4483
4 changed files with 7 additions and 22 deletions

View File

@@ -284,10 +284,12 @@ jobs:
- run: mv build/coverage-unit/coverage-unit.cov build/coverage-unit.cov
- run: mv build/coverage-db/coverage-db.cov build/coverage-db.cov
- run: mv build/coverage-api/coverage-api.cov build/coverage-api.cov
- run: wget https://phar.phpunit.de/phpcov-7.0.2.phar
- run: php phpcov-7.0.2.phar merge build --clover build/clover.xml
- run: wget https://scrutinizer-ci.com/ocular.phar
- run: php ocular.phar code-coverage:upload --format=php-clover build/clover.xml
- run: wget https://phar.phpunit.de/phpcov-8.2.0.phar
- run: php phpcov-8.2.0.phar merge build --clover build/clover.xml
- name: Publish coverage
uses: codecov/codecov-action@v1
with:
file: ./build/clover.xml
delete-artifacts:
needs: