Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ on:
push:
paths:
- '**.php'
- '.github/workflows/run-tests.yml'
- '.github/workflows/ci.yml'
- 'phpunit.xml.dist'
- 'composer.json'
- 'composer.lock'
pull_request:
types: [opened, synchronize, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
phpunit:
name: Tests PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
Expand All @@ -21,7 +25,12 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.3, 8.4]
laravel: [11, 12]
laravel: [12.*, 11.*]
include:
- laravel: 12.*
testbench: 10.*
- laravel: 11.*
testbench: 9.*

steps:
- uses: actions/checkout@v4
Expand All @@ -48,7 +57,8 @@ jobs:

- name: Install dependencies
run: |
composer update --prefer-dist --no-interaction --with="illuminate/contracts:^${{ matrix.laravel }}"
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction

- name: List Installed Dependencies
run: composer show -D
Expand Down
Loading