Skip to content

Commit

Permalink
#new-version#
Browse files Browse the repository at this point in the history
- Versão Nova;
  • Loading branch information
viniccius.nascimento committed Jul 17, 2024
1 parent 79cbbea commit 4ba0455
Showing 1 changed file with 22 additions and 39 deletions.
61 changes: 22 additions & 39 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ 8.2, 8.1, 8.0, 7.4, 7.3, 7.2 ]
laravel: [ 10.*, 9.*, 8.*, 7.*, 6.*, 5.8.*, 5.5.* ]
php: [ 8.2, 8.1, 8.0, 7.4 ]
laravel: [ 11.*, 10.*, 9.*, 8.*, 7.*, 6.*]
dependency-version: [ prefer-stable ]
os: [ ubuntu-latest ]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
Expand All @@ -29,60 +31,40 @@ jobs:
testbench: 5.*
- laravel: 6.*
testbench: 4.*
- laravel: 5.8.*
testbench: 3.*
- laravel: 5.5.*
testbench: 3.*
- php: 8.2
unitconfig: phpunit_gt_81.xml
- php: 8.1
unitconfig: phpunit_gt_81.xml
- php: 8.0
unitconfig: phpunit.xml
- php: 7.4
unitconfig: phpunit.xml
exclude:
- laravel: 5.5.*
php: 8
- laravel: 5.5.*
php: 8.1
- laravel: 5.5.*
php: 8.2
- laravel: 5.8.*
php: 8
- laravel: 5.8.*
php: 8.1
- laravel: 5.8.*
php: 8.2
- laravel: 6.*
php: 7.2
- laravel: 6.*
php: 8
- laravel: 6.*
php: 8.1
- laravel: 6.*
php: 8.2
- laravel: 7.*
php: 7.2
- laravel: 7.*
php: 8
- laravel: 7.*
php: 8.1
- laravel: 7.*
php: 8.2
- laravel: 8.*
php: 7.2
- laravel: 8.*
php: 7.3
- laravel: 8.*
php: 7.4
- laravel: 9.*
php: 7.2
- laravel: 9.*
php: 7.3
- laravel: 9.*
php: 7.4
- laravel: 10.*
php: 7.2
- laravel: 10.*
php: 7.3
- laravel: 10.*
php: 7.4
- laravel: 10.*
php: 8.0
- laravel: 10.*
- laravel: 11.*
php: 7.4
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1
runs-on: ${{ matrix.os }}
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
Expand All @@ -103,9 +85,9 @@ jobs:
id: cache-env
uses: shivammathur/cache-extensions@v1
with:
php-version: ${{ matrix.php }}
extensions: ${{ env.extensions }}
key: php-extensions-cache-v1
php-version: ${{ matrix.php }}
extensions: ${{ env.extensions }}
key: php-extensions-cache-v1

- name: Setup PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
Expand All @@ -122,4 +104,5 @@ jobs:
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Run tests
run: "vendor/bin/phpunit -c phpunit.xml --coverage-clover=coverage.clover"
run: |
vendor/bin/phpunit -c ${{ matrix.unitconfig }} --coverage-clover=coverage.clover

0 comments on commit 4ba0455

Please sign in to comment.