Skip to content

Commit

Permalink
Laravel 9 (#956)
Browse files Browse the repository at this point in the history
* Laravel 9

* wip
  • Loading branch information
driesvints authored Jan 12, 2022
1 parent 3abf3c4 commit fb96837
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 23 deletions.
38 changes: 22 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,38 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4, 8.0, 8.1]
laravel: [^6.0, ^7.0, ^8.0]
phpunit: [^8.4, ^9.0]
php: [7.2, 7.3, 7.4, '8.0', 8.1]
laravel: [6, 7, 8, 9]
phpunit: [8, 9]
include:
- php: 7.2
laravel: ^6.0
phpunit: ^7.5
laravel: 6
phpunit: 7
- php: 7.3
laravel: ^6.0
phpunit: ^7.5
laravel: 6
phpunit: 7
- php: 7.4
laravel: ^6.0
phpunit: ^7.5
laravel: 6
phpunit: 7
exclude:
- php: 7.2
phpunit: ^9.0
phpunit: 9
- php: 7.2
laravel: ^8.0
laravel: 8
- php: 7.2
laravel: 9
- php: 7.3
laravel: 9
- php: 7.4
laravel: 9
- php: 8.0
phpunit: ^8.4
phpunit: 8
- php: 8.1
phpunit: ^8.4
phpunit: 8
- php: 8.1
laravel: ^6.0
laravel: 6
- php: 8.1
laravel: ^7.0
laravel: 7

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

Expand All @@ -56,7 +62,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" --dev --no-update
composer require "illuminate/contracts:^${{ matrix.laravel }}" "phpunit/phpunit:^${{ matrix.phpunit }}" --dev --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
"ext-zip": "*",
"php-webdriver/webdriver": "^1.9.0",
"nesbot/carbon": "^2.0",
"illuminate/console": "^6.0|^7.0|^8.0",
"illuminate/support": "^6.0|^7.0|^8.0",
"symfony/console": "^4.3|^5.0",
"symfony/finder": "^4.3|^5.0",
"symfony/process": "^4.3|^5.0",
"vlucas/phpdotenv": "^3.0|^4.0|^5.0"
"illuminate/console": "^6.0|^7.0|^8.0|^9.0",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
"symfony/console": "^4.3|^5.0|^6.0",
"symfony/finder": "^4.3|^5.0|^6.0",
"symfony/process": "^4.3|^5.0|^6.0",
"vlucas/phpdotenv": "^3.0|^4.0|^5.2"
},
"require-dev": {
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^7.5.15|^8.4|^9.0",
"orchestra/testbench": "^4.16|^5.17.1|^6.12.1"
"orchestra/testbench": "^4.16|^5.17.1|^6.12.1|^7.0"
},
"suggest": {
"ext-pcntl": "Used to gracefully terminate Dusk when tests are running."
Expand Down

0 comments on commit fb96837

Please sign in to comment.