Merge pull request #15468 from marcusmoore/coverage
Some checks are pending
Crowdin Action / upload-sources-to-crowdin (push) Waiting to run
Docker images (Alpine) / docker (push) Waiting to run
Docker images / docker (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.1) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.2) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.3) (push) Waiting to run
Tests in SQLite / PHP ${{ matrix.php-version }} (8.1.1) (push) Waiting to run

Added coverage commands for Herd users
This commit is contained in:
snipe 2024-09-09 20:13:01 +01:00 committed by GitHub
commit 549dec9f9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View file

@ -47,6 +47,7 @@ storage/private_uploads/users/*
tests/_data/scenarios tests/_data/scenarios
tests/_output/* tests/_output/*
tests/_support/_generated/* tests/_support/_generated/*
tests/coverage/*
/npm-debug.log /npm-debug.log
/storage/oauth-private.key /storage/oauth-private.key
/storage/oauth-public.key /storage/oauth-public.key

View file

@ -120,7 +120,9 @@
], ],
"post-create-project-cmd": [ "post-create-project-cmd": [
"php artisan key:generate" "php artisan key:generate"
] ],
"coverage:herd:clover": "herd coverage vendor/bin/phpunit --coverage-clover tests/coverage/clover.xml",
"coverage:herd:html": "herd coverage vendor/bin/phpunit --coverage-html tests/coverage/html"
}, },
"config": { "config": {
"preferred-install": "dist", "preferred-install": "dist",