Skip to content

Commit

Permalink
run test suite with PHP8
Browse files Browse the repository at this point in the history
  • Loading branch information
Nielsvanpach committed Nov 9, 2020
1 parent e61ba29 commit 1c51a5f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests-L7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit
4 changes: 2 additions & 2 deletions .github/workflows/run-tests-L8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.4, 7.3]
php: [8.0, 7.4, 7.3]
laravel: [8.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
],
"require": {
"php" : "^7.2.5",
"php" : "^7.2.5|^8.0",
"illuminate/auth": "^5.8|^6.0|^7.0|^8.0",
"illuminate/container": "^5.8|^6.0|^7.0|^8.0",
"illuminate/contracts": "^5.8|^6.0|^7.0|^8.0",
Expand Down

0 comments on commit 1c51a5f

Please sign in to comment.