Upload code coverage

This commit is contained in:
Daniil Gentili 2020-07-31 15:12:12 +02:00
parent 2a15c6330a
commit 83b20c0dff
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -47,3 +47,12 @@ jobs:
vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
vendor/bin/php-cs-fixer --diff --dry-run -v fix
vendor/bin/psalm
- name: Upload coverage to Codecov
env:
OS: ${{ matrix.os }}
PHP: ${{ matrix.php-versions }}
uses: codecov/codecov-action@v1
with:
file: build/logs/clover.xml
env_vars: OS,PHP