Skip to content

Commit fb96837

Browse files
authored
Laravel 9 (#956)
* Laravel 9 * wip
1 parent 3abf3c4 commit fb96837

File tree

2 files changed

+29
-23
lines changed

2 files changed

+29
-23
lines changed

.github/workflows/tests.yml

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,38 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: [7.2, 7.3, 7.4, 8.0, 8.1]
17-
laravel: [^6.0, ^7.0, ^8.0]
18-
phpunit: [^8.4, ^9.0]
16+
php: [7.2, 7.3, 7.4, '8.0', 8.1]
17+
laravel: [6, 7, 8, 9]
18+
phpunit: [8, 9]
1919
include:
2020
- php: 7.2
21-
laravel: ^6.0
22-
phpunit: ^7.5
21+
laravel: 6
22+
phpunit: 7
2323
- php: 7.3
24-
laravel: ^6.0
25-
phpunit: ^7.5
24+
laravel: 6
25+
phpunit: 7
2626
- php: 7.4
27-
laravel: ^6.0
28-
phpunit: ^7.5
27+
laravel: 6
28+
phpunit: 7
2929
exclude:
3030
- php: 7.2
31-
phpunit: ^9.0
31+
phpunit: 9
3232
- php: 7.2
33-
laravel: ^8.0
33+
laravel: 8
34+
- php: 7.2
35+
laravel: 9
36+
- php: 7.3
37+
laravel: 9
38+
- php: 7.4
39+
laravel: 9
3440
- php: 8.0
35-
phpunit: ^8.4
41+
phpunit: 8
3642
- php: 8.1
37-
phpunit: ^8.4
43+
phpunit: 8
3844
- php: 8.1
39-
laravel: ^6.0
45+
laravel: 6
4046
- php: 8.1
41-
laravel: ^7.0
47+
laravel: 7
4248

4349
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - PHPUnit ${{ matrix.phpunit }}
4450

@@ -56,7 +62,7 @@ jobs:
5662

5763
- name: Install dependencies
5864
run: |
59-
composer require "illuminate/contracts:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" --dev --no-update
65+
composer require "illuminate/contracts:^${{ matrix.laravel }}" "phpunit/phpunit:^${{ matrix.phpunit }}" --dev --no-update
6066
composer update --prefer-dist --no-interaction --no-progress
6167
6268
- name: Execute tests

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515
"ext-zip": "*",
1616
"php-webdriver/webdriver": "^1.9.0",
1717
"nesbot/carbon": "^2.0",
18-
"illuminate/console": "^6.0|^7.0|^8.0",
19-
"illuminate/support": "^6.0|^7.0|^8.0",
20-
"symfony/console": "^4.3|^5.0",
21-
"symfony/finder": "^4.3|^5.0",
22-
"symfony/process": "^4.3|^5.0",
23-
"vlucas/phpdotenv": "^3.0|^4.0|^5.0"
18+
"illuminate/console": "^6.0|^7.0|^8.0|^9.0",
19+
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
20+
"symfony/console": "^4.3|^5.0|^6.0",
21+
"symfony/finder": "^4.3|^5.0|^6.0",
22+
"symfony/process": "^4.3|^5.0|^6.0",
23+
"vlucas/phpdotenv": "^3.0|^4.0|^5.2"
2424
},
2525
"require-dev": {
2626
"mockery/mockery": "^1.0",
2727
"phpunit/phpunit": "^7.5.15|^8.4|^9.0",
28-
"orchestra/testbench": "^4.16|^5.17.1|^6.12.1"
28+
"orchestra/testbench": "^4.16|^5.17.1|^6.12.1|^7.0"
2929
},
3030
"suggest": {
3131
"ext-pcntl": "Used to gracefully terminate Dusk when tests are running."

0 commit comments

Comments
 (0)