Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit e442e07

Browse files
author
Holger Lösken
committed
Generate codecov report
1 parent 36bf8aa commit e442e07

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
APP_ENV: testing
4444

4545
- name: Run tests
46-
run: ./vendor/bin/phpunit
46+
run: composer test-clover-coverage
4747
env:
4848
APP_ENV: testing
4949

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.phpunit.result.cache
2-
2+
clover.xml
33
coverage/
44
node_modules/
55
vendor/

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
},
4040
"scripts": {
4141
"test": "./vendor/bin/phpunit",
42-
"test-coverage": "./vendor/bin/phpunit --coverage-html coverage"
42+
"test-coverage": "./vendor/bin/phpunit --coverage-html coverage",
43+
"test-clover-coverage": "./vendor/bin/phpunit --coverage-clover clover.xml"
4344
},
4445
"extra": {
4546
"laravel": {

0 commit comments

Comments
 (0)