Skip to content

Commit

Permalink
Added support for Laravel 7 (#49)
Browse files Browse the repository at this point in the history
* Bumped GitHub Actions tests to run on Laravel 7
* Bumped version to Laravel 7 in composer.json
  • Loading branch information
DCzajkowski authored Mar 4, 2020
1 parent c991d2d commit 520aabe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/common/setup
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ commit="tmp-$(git rev-parse --verify HEAD)"
git checkout -b $commit

# Create Laravel project
composer create-project --prefer-dist laravel/laravel test-app '6.*'
composer create-project --prefer-dist laravel/laravel test-app '7.*'
cd test-app

# Require Laravel auth preset and setup views
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-tests-on-laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
test_without_email_verification:
name: (PHP ${{ matrix.php }}, Laravel 6) Tests without email verification
name: (PHP ${{ matrix.php }}, Laravel 7) Tests without email verification
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
run: ( cd test-app && ./vendor/bin/phpunit )

test_with_email_verification:
name: (PHP ${{ matrix.php }}, Laravel 6) Tests with email verification
name: (PHP ${{ matrix.php }}, Laravel 7) Tests with email verification
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"laravel/framework": "^6.0"
"laravel/framework": "^7.0"
},
"extra": {
"laravel": {
Expand Down

0 comments on commit 520aabe

Please sign in to comment.