Skip to content

Commit

Permalink
Update GitHub Actions for Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
laravel-shift committed Feb 27, 2024
1 parent 19dd6de commit 041d81f
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
name: Tests

on: [push, pull_request]
on:
- push
- pull_request

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0, 8.1, 8.2]
laravel: [10.*, 9.*, 8.*]
laravel: ['8.*', '9.*', '10.*', '11.*']
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
Expand All @@ -22,9 +25,16 @@ jobs:
- laravel: 8.*
testbench: 6.*
phpunit: 9.4.*
- laravel: 11.*
testbench: 9.*
phpunit: '8.2'
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

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

Expand All @@ -41,7 +51,7 @@ jobs:

- name: Configure for PHP 8.2
run: composer config platform.php 8.1.99
if: matrix.php == '8.2'
if: "matrix.php == '8.2'"

- name: Install dependencies
run: |
Expand Down

0 comments on commit 041d81f

Please sign in to comment.