Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Bump matrix/versions (#559)
Browse files Browse the repository at this point in the history
* Bump matrix/versions

* Tweak phpunit

* Skip 8.1 on old laravel versions

* Skip

* SKip lowest
  • Loading branch information
barryvdh authored Feb 23, 2022
1 parent adeeba8 commit 7c036ec
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 23 deletions.
30 changes: 10 additions & 20 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,21 @@ jobs:

strategy:
matrix:
php: [8.0, 7.4, 7.3, 7.2]
laravel: [^8, ^7, ^6]
dependency-version: [prefer-stable]
php: [8.1, 8.0, 7.4]
laravel: [^9, ^8, ^7, ^6]
dependency-version: [prefer-lowest, prefer-stable, dev]
exclude:
- laravel: ^8
php: 7.2
include:
- laravel: ^7
php: 7.2
dependency-version: prefer-lowest
- laravel: ^8
php: 7.3
dependency-version: prefer-lowest
- laravel: ^8
- laravel: ^6
php: 7.4
dependency-version: dev
dependency-version: prefer-lowest
- laravel: ^6
php: 8.1
- laravel: ^7
php: 8.1
- laravel: ^8
php: 8.0
dependency-version: prefer-stable
- laravel: ^9
php: 8.1
dependency-version: prefer-stable
- laravel: ^9
php: 8.1
dependency-version: dev
php: 7.4

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
}
],
"require": {
"php": ">=7.2",
"php": "^7.4|^8.0",
"illuminate/support": "^6|^7|^8|^9",
"illuminate/contracts": "^6|^7|^8|^9",
"fruitcake/php-cors": "^1"
"fruitcake/php-cors": "^1.2"
},
"require-dev": {
"laravel/framework": "^6|^7.24|^8",
"phpunit/phpunit": "^6|^7|^8|^9",
"phpunit/phpunit": "^9",
"squizlabs/php_codesniffer": "^3.5",
"orchestra/testbench-dusk": "^4|^5|^6|^7"
},
Expand Down

0 comments on commit 7c036ec

Please sign in to comment.