diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index eeb68ec..fec9d84 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - php: [8.0, 8.1, 8.2, 8.3, 8.4] + php: [8.0, 8.1, 8.2, 8.3, 8.4, 8.5] laravel: ['8.*', '9.*', '10.*', '11.*', '12.*'] coverage: [none] dependency-version: [prefer-stable] @@ -65,7 +65,11 @@ jobs: - name: Install dependencies run: | + if [ "${{ matrix.laravel }}" = "11.*" ] && [ "${{ matrix.php }}" = "8.5" ]; then + composer require "phpunit/phpunit:^12" "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + fi composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest - name: Execute tests diff --git a/composer.json b/composer.json index 21b3cb7..0b5ce5f 100644 --- a/composer.json +++ b/composer.json @@ -8,10 +8,8 @@ "cache", "redis", "memcache", - "laravel 8", - "laravel 9", - "nova 4", - "mostafaznv" + "nova", + "laravel nova" ], "license": "MIT", "support": { @@ -32,9 +30,9 @@ "laravel/framework": "^8.40.0|^9.0|^10.0|^11.0|^12.0" }, "require-dev": { - "phpunit/phpunit": "^9.5.10|^10.0|^11.5.3", + "phpunit/phpunit": "^9.5.10|^10.0|^11.5.3|^12.4.4", "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0", - "pestphp/pest": "^1.20|^2.34|^3.7", + "pestphp/pest": "^1.20|^2.34|^3.7|^4.1", "spatie/pest-plugin-test-time": "^1.0|^2.1" }, "autoload": { diff --git a/phpunit.xml b/phpunit.xml index 208159a..fa3bd89 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,22 +1,18 @@ - + - - - src/ - - - tests - + + + ./src - +