From 2ffffeb0887114f3ff96fe0069f5808e2824d597 Mon Sep 17 00:00:00 2001 From: "tien.xuan.vo" Date: Thu, 26 Sep 2024 15:54:43 +0700 Subject: [PATCH] feat: Add composer test coverage command --- .github/workflows/build.yml | 2 +- composer.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf3e6ed6..b38d5dd0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/composer.json b/composer.json index 2ff25f8c..cc742332 100644 --- a/composer.json +++ b/composer.json @@ -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": [