diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0f035d4..7c439ae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,35 +12,66 @@ jobs: runs-on: ubuntu-latest strategy: - fail-fast: true + fail-fast: false matrix: - php: [8.0, 8.1, 8.2, 8.3] - laravel: [11.*, 10.*, 9.*, 8.*] - dependency-version: [prefer-lowest, prefer-stable] - os: [ubuntu-latest] - include: - - laravel: 11.* - testbench: 9.* - - laravel: 10.* - testbench: 8.* - - laravel: 9.* - testbench: 7.* - - laravel: 8.* - testbench: 6.* + php: + - '8.3' + - '8.2' + - '8.1' + - '8.0' + laravel: + - '10.*' + - '9.*' + - '8.*' + dependency-version: + - 'prefer-stable' + exclude: - - laravel: '11.*' - php: '8.2' - - laravel: '11.*' - php: '8.1' - - laravel: '11.*' - php: '8.0' - - laravel: '10.*' - php: '8.0' - - - - - + - laravel: '11.*' + php: '8.2' + - laravel: '11.*' + php: '8.1' + - laravel: '11.*' + php: '8.0' + - laravel: '10.*' + php: '8.0' + + + include: + - laravel: '10.*' + php: '8.3' + testbench: '8.*' + - laravel: '10.*' + php: '8.2' + testbench: '8.*' + - laravel: '10.*' + php: '8.1' + testbench: '8.*' + - laravel: '9.*' + php: '8.3' + testbench: '7.*' + - laravel: '9.*' + php: '8.2' + testbench: '7.*' + - laravel: '9.*' + php: '8.1' + testbench: '7.*' + - laravel: '9.*' + php: '8.0' + testbench: '7.*' + - laravel: '8.*' + php: '8.3' + testbench: '6.*' + - laravel: '8.*' + php: '8.2' + testbench: '6.*' + - laravel: '8.*' + php: '8.1' + testbench: '6.*' + - laravel: '8.*' + php: '8.0' + testbench: '6.*' + name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ubuntu-latest @@ -59,6 +90,5 @@ jobs: run: | composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction - - name: Execute tests - run: vendor/bin/phpunit + run: vendor/bin/phpunit \ No newline at end of file