Skip to content

Commit

Permalink
Merge pull request #4 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
trippo committed Mar 14, 2024
2 parents a1e2865 + 293cbd0 commit ce7fc49
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,33 @@ name: run-tests

on:
push:
branches: [main]
branches:
- main
pull_request:
branches: [main]
branches:
- main

jobs:
pest:
name: Tests (Pest) L${{ matrix.laravel }}

runs-on: ubuntu-latest

strategy:
matrix:
os: [ubuntu-latest, windows-latest]
laravel: [ 8, 9 ]
php: [ 8.1 ]
laravel: [8, 9, '11']
php: [8.1, '8.2']
stability: [prefer-lowest, prefer-stable]
exclude:
- laravel: '11'
php: 8.1

steps:
- uses: actions/checkout@v2

- name: Install composer dependencies
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"

- name: Run tests
run: vendor/bin/pest
run: vendor/bin/pest
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"jawira/case-converter": "^3.5"
},
"require-dev": {
"pestphp/pest": "^1.21",
"orchestra/testbench": "^6.23|^7.0",
"pestphp/pest": "^1.21|^2.34",
"orchestra/testbench": "^6.23|^7.0|^9.0",
"phpstan/phpstan": "^1.7",
"friendsofphp/php-cs-fixer": "^3.8",
"pestphp/pest-plugin-laravel": "^1.2"
"pestphp/pest-plugin-laravel": "^1.2|^2.3"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down

0 comments on commit ce7fc49

Please sign in to comment.