diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index c85cbf7..43a8795 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -33,8 +33,7 @@ jobs: - name: Install dependencies run: | - composer config allow-plugins.pestphp/pest-plugin true - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" pestphp/pest --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Execute tests run: XDEBUG_MODE=coverage php vendor/bin/pest --coverage --min=100 diff --git a/composer.json b/composer.json index a9f23c5..257a092 100644 --- a/composer.json +++ b/composer.json @@ -18,9 +18,10 @@ "laravel/framework": "^10.0|^11.0" }, "require-dev": { - "laravel/pint": "^1.18", "larastan/larastan": "^2.9", + "laravel/pint": "^1.18", "orchestra/testbench": "^8.27|^9.5", + "pestphp/pest": "^2.0", "phpstan/phpstan-mockery": "^1.1", "phpunit/phpunit": "^10.5" }, @@ -48,7 +49,8 @@ "config": { "sort-packages": true, "allow-plugins": { - "php-http/discovery": true + "php-http/discovery": true, + "pestphp/pest-plugin": true } }, "extra": {