Move to codecov

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2020-02-26 14:14:08 +01:00
parent 464f75ca29
commit 75729110c5
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF
2 changed files with 4 additions and 6 deletions

View file

@ -65,17 +65,15 @@ jobs:
- name: PHPUnit & coverage
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit --coverage-clover clover.xml -c phpunit.xml
run: ./vendor/phpunit/phpunit/phpunit --coverage-clover coverage.xml -c phpunit.xml
- name: PHPUnit integration
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c phpunit.integration.xml
- name: Generate coverage
- name: Upload coverage
working-directory: apps/${{ env.APP_NAME }}
run: |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover clover.xml
run: bash <(curl -s https://codecov.io/bash)
mysql:
runs-on: ubuntu-latest

View file

@ -127,5 +127,5 @@ appstore: clean lint build-js-production
.PHONY: test
test: composer
$(CURDIR)/vendor/phpunit/phpunit/phpunit --coverage-clover clover.xml -c phpunit.xml
$(CURDIR)/vendor/phpunit/phpunit/phpunit -c phpunit.xml
$(CURDIR)/vendor/phpunit/phpunit/phpunit -c phpunit.integration.xml