Add coverage support
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
2f4543e708
commit
626ca81022
4
.github/workflows/phpunit.yml
vendored
4
.github/workflows/phpunit.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue