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

Commit cdfef63

Browse files
committed
♻️ codeclimate for coverage, phpstan fixes
1 parent 471e282 commit cdfef63

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/pest-tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ jobs:
3535
uses: paambaati/[email protected]
3636
env:
3737
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
38-
coverageCommand: |
39-
php tests/patch.php
40-
./vendor/bin/pest --coverage
38+
coverageCommand: composer coverage
39+
4140
#prefix: ${{github.workspace}}
4241
coverageLocations: ${{github.workspace}}/tests/clover.xml:clover

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
"analyze": "./vendor/bin/phpstan",
5555
"fix": "./vendor/bin/pint",
5656
"test": "./vendor/bin/pest",
57+
"coverage": [
58+
"php tests/patch.php",
59+
"./vendor/bin/pest --coverage"
60+
],
5761
"dist": [
5862
"composer install --no-dev --optimize-autoloader",
5963
"git rm -rf --cached .; git add .;"

0 commit comments

Comments
 (0)