diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 0d9d3b0..0532e49 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -32,7 +32,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 07feefd..ec9b6fd 100644 --- a/composer.json +++ b/composer.json @@ -11,11 +11,12 @@ "justbetter/laravel-magento-webhooks": "^2.1" }, "require-dev": { - "laravel/pint": "^1.16", "larastan/larastan": "^2.5", + "laravel/pint": "^1.16", + "orchestra/testbench": "^9.0", + "pestphp/pest": "^2.0", "phpstan/phpstan-mockery": "^1.1", - "phpunit/phpunit": "^10.0", - "orchestra/testbench": "^9.0" + "phpunit/phpunit": "^10.0" }, "authors": [ { @@ -51,7 +52,10 @@ "fix-style": "pint" }, "config": { - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "pestphp/pest-plugin": true + } }, "extra": { "laravel": {