diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa78109..bdb5f99 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,4 +57,4 @@ jobs: - name: PHPUnit env: WP_VERSION: ${{ matrix.wp-versions }} - run: ./vendor/bin/phpunit --testdox --coverage-text --coverage-filter=src --display-warnings --display-notices + run: composer test diff --git a/composer.json b/composer.json index 8de6d8b..94516df 100644 --- a/composer.json +++ b/composer.json @@ -44,5 +44,9 @@ "imposter": { "namespace": "NineteenEightyFour\\NineteenEightyWoo" } + }, + "scripts": { + "test": "./vendor/bin/phpunit --testdox --exclude-group external-api --display-warnings --display-notices", + "test:external": "./vendor/bin/phpunit --testdox --group external-api --display-warnings --display-notices" } }