diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 984973c..29900ba 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,12 +7,13 @@ on: jobs: tests: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest] - php: ['8.0', 8.1, 8.2, 8.3] - laravel: [9.*, 10.*, 11.*] + php: [8.2, 8.3, 8.4] + laravel: ['10.*', '11.*', '12.*'] dependency-version: [prefer-lowest, prefer-stable] exclude: - laravel: 9.* @@ -27,6 +28,10 @@ jobs: php: '8.0' - laravel: 11.* php: 8.1 + - laravel: 12.* + php: '8.0' + - laravel: 12.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} @@ -46,5 +51,6 @@ jobs: run: | composer require "illuminate/console:${{ matrix.laravel }}" "illuminate/mail:${{ matrix.laravel }}" "illuminate/view:${{ matrix.laravel }}" --no-interaction --no-update composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-progress + - name: Execute tests run: vendor/bin/pest diff --git a/composer.json b/composer.json index 15c2d68..5d34c15 100644 --- a/composer.json +++ b/composer.json @@ -16,14 +16,14 @@ ], "homepage": "https://github.com/beyondcode/helo-laravel", "require": { - "php": "^8.0 || ^8.1 || ^8.2", - "illuminate/console": "^8.0 || ^9.0 || ^10.0 || ^11.0", - "illuminate/mail": "^8.0 || ^9.0 || ^10.0 || ^11.0", - "illuminate/view": "^8.0 || ^9.0 || ^10.0 || ^11.0" + "php": "^8.2", + "illuminate/console": "^10.0 || ^11.0 || ^12.0", + "illuminate/mail": "^10.0 || ^11.0 || ^12.0", + "illuminate/view": "^10.0 || ^11.0 || ^12.0" }, "require-dev": { - "orchestra/testbench": "^7.0 || ^8.0 || ^9.0", - "pestphp/pest": "1.x-dev || 2.x-dev" + "orchestra/testbench": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0", + "pestphp/pest": "1.x-dev || 2.x-dev || ^3.7" }, "minimum-stability": "dev", "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 667a775..268eabc 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,37 +1,23 @@ - - - - tests - - - - - - src - - - - - - - - - - - - - - + + + + tests + + + + + src + + + + + + + + + + + + diff --git a/phpunit.xml.dist.bak b/phpunit.xml.dist.bak new file mode 100644 index 0000000..667a775 --- /dev/null +++ b/phpunit.xml.dist.bak @@ -0,0 +1,37 @@ + + + + + tests + + + + + + src + + + + + + + + + + + + + + +