From 24fa4722290552c27ea52f8f8d7dccf43e33e874 Mon Sep 17 00:00:00 2001 From: Luca Patera Date: Sun, 10 Mar 2024 17:03:10 +0100 Subject: [PATCH] Ah! x8 --- .github/workflows/php.yml | 5 ++++- composer.json | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 46643b4..4935af1 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -15,12 +15,15 @@ jobs: - laravel: 11.* testbench: 9.* termwind: 2.* + pest: 2.* - laravel: 10.* testbench: 8.* termwind: 1.* + pest: 1.* - laravel: 9.* testbench: 7.* termwind: 1.* + pest: 1.* name: PHP ${{ matrix.php }} + Laravel ${{ matrix.laravel }} steps: @@ -38,7 +41,7 @@ jobs: - name: Install dependencies run: | composer require "laravel/framework:${{ matrix.laravel }}" "nunomaduro/termwind:${{ matrix.termwind }}" --no-interaction --no-update - composer require "orchestra/testbench:${{ matrix.testbench }}" --dev --no-interaction --no-update + composer require "orchestra/testbench:${{ matrix.testbench }}" "pestphp/pest:${{ matrix.pest }}" "pestphp/pest-plugin-mock":${{ matrix.pest }}" --dev --no-interaction --no-update composer update --prefer-dist --no-interaction - name: Run test suite diff --git a/composer.json b/composer.json index 64a4be0..5ab2495 100644 --- a/composer.json +++ b/composer.json @@ -35,8 +35,8 @@ "require-dev": { "illuminate/testing": "^9.0|^10.0|^11.0", "orchestra/testbench": "^7.0|^8.0|^9.0", - "pestphp/pest": "^1.1", - "pestphp/pest-plugin-mock": "^1.0", + "pestphp/pest": "^1.1|^2.0", + "pestphp/pest-plugin-mock": "^1.0|^2.0", "roave/security-advisories": "dev-latest", "vimeo/psalm": "^5.0" },