Skip to content

Commit

Permalink
Fix github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Sébastien Nikolaou committed Nov 27, 2021
1 parent a1219f0 commit 10b55ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests-php7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: true
matrix:
php: [7.4, 7.3, 7.2, 7.1]
laravel: [8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.* 5.5.*]
laravel: [8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*, 5.5.*]
include:
- laravel: 8.*
testbench: ^6.0
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "phpunit/phpunit":${{ matrix.phpunit }} --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction
- name: Setup PCOV
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/tests-php8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ jobs:
matrix:
php: [8.1, 8.0]
laravel: [8.*, 6.*]
include:
- laravel: 8.*
testbench: ^6.6
exclude:
- laravel: 6.*
php: 8.1
Expand Down Expand Up @@ -52,7 +49,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction
- name: Execute tests
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "library",
"require": {
"php": "^7.1|^8.0",
"laravel/framework": "^5.5|^6.0|^7.0|^8.0"
"laravel/framework": "^5.5|^6.20.26|^7.0|^8.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0|^7.0|^8.0|^9.3",
Expand Down

0 comments on commit 10b55ec

Please sign in to comment.