Add coverage support

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2020-02-26 13:44:23 +01:00
parent 2f4543e708
commit 626ca81022
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF

View file

@ -64,9 +64,9 @@ jobs:
./occ app:enable ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
- name: PHPUnit & coverage
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c phpunit.xml
run: ./vendor/phpunit/phpunit/phpunit --coverage-clover clover.xml -c phpunit.xml
- name: PHPUnit integration
working-directory: apps/${{ env.APP_NAME }}