Update main.yml

This commit is contained in:
Dennis Eichhorn 2020-12-06 11:30:01 +01:00 committed by GitHub
parent f5ad4345bb
commit 65fd3c14bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,11 @@ jobs:
- name: Setup Composer
run: composer install
- name: phpunit
run: vendor/bin/phpunit --configuration tests/phpunit_no_coverage.xml
run: vendor/bin/phpunit --coverage-clover tests/coverage.xml --configuration tests/phpunit_no_coverage.xml
- name: codecov
env:
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
run: "bash <(curl -s https://codecov.io/bash) -f tests/coverage.xml"
static-tests:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'NO_CI')"