Skip to content

Commit

Permalink
remove support to Laravel 6 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
cesargb authored Nov 25, 2022
1 parent 346b8cf commit 117dc33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 38 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,35 +36,3 @@ jobs:
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit

run-tests-l6:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [7.4, 8.0]
laravel: [6.*]
dependency-version: [prefer-stable]
include:
- laravel: 6.*
testbench: 4.*

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

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, exif
coverage: none

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"type": "library",
"require": {
"php": "^7.4|^8.0",
"illuminate/console": "^6.0|^8.0|^9.0",
"illuminate/database": "^6.0|^8.0|^9.0",
"illuminate/events": "^6.0|^8.0|^9.0",
"illuminate/support": "^6.0|^8.0|^9.0"
"illuminate/console": "^8.0|^9.0",
"illuminate/database": "^8.0|^9.0",
"illuminate/events": "^8.0|^9.0",
"illuminate/support": "^8.0|^9.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0|^9.0",
"orchestra/testbench": "^4.0|^6.0|^7.0",
"phpunit/phpunit": "^9.0",
"orchestra/testbench": "^6.0|^7.0",
"laravel/legacy-factories": "^1.0.4"
},
"autoload": {
Expand Down

0 comments on commit 117dc33

Please sign in to comment.