Skip to content

Commit

Permalink
feat: Add composer test coverage command
Browse files Browse the repository at this point in the history
  • Loading branch information
tienvx committed Sep 26, 2024
1 parent 773c120 commit 2ffffeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
dependency-versions: ${{ matrix.dependencies }}

- name: Test Unit
run: vendor/bin/phpunit --testsuite unit
run: composer test-coverage
env:
PACT_DO_NOT_TRACK: true

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"lint": "php-cs-fixer fix --dry-run",
"fix": "php-cs-fixer fix",
"test": "phpunit --no-coverage",
"test-coverage": "phpunit",
"check-compatibility": "behat",
"refactor": "rector",
"run-examples": [
Expand Down

0 comments on commit 2ffffeb

Please sign in to comment.