Skip to content

Commit

Permalink
coverage fix
Browse files Browse the repository at this point in the history
  • Loading branch information
renakdup committed May 13, 2024
1 parent 0319192 commit 563209b
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/phpunit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: ./vendor/bin/phpunit --coverage-clover
coverageCommand: composer run phpunit-coverage
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"symfony/var-dumper": "^5.4",
"phpstan/phpstan": "^1.10",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan-deprecation-rules": "^1.1"
"phpstan/phpstan-deprecation-rules": "^1.1",
"rregeer/phpunit-coverage-check": "^0.3.1"
},
"autoload-dev": {
"psr-4": {
Expand All @@ -47,7 +48,8 @@
"phpcbf": "phpcbf --standard=./phpcs.xml",
"phpstan": "phpstan analyse -c phpstan.neon",
"phpstan.baselane": "phpstan analyse -c phpstan.neon --generate-baseline",
"phpunit": "phpunit"
"phpunit": "phpunit",
"phpunit-coverage": "phpunit --coverage-clover clover.xml"
},
"config": {
"allow-plugins": {
Expand Down
48 changes: 47 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 563209b

Please sign in to comment.