Skip to content

Commit 25af01f

Browse files
committed
Update GitHub Actions for Laravel 12
1 parent 31ba0e3 commit 25af01f

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,22 @@ name: run-tests
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- main
67
pull_request:
7-
branches: [main]
8+
branches:
9+
- main
810

911
jobs:
1012
test:
1113
runs-on: ${{ matrix.os }}
14+
1215
strategy:
1316
fail-fast: false
1417
matrix:
1518
os: [ubuntu-latest, windows-latest]
1619
php: [8.2, 8.1, 8.3]
17-
laravel: [10.*, 11.*]
20+
laravel: ['10.*', '11.*', '12.*']
1821
stability: [prefer-lowest, prefer-stable]
1922
include:
2023
- laravel: 10.*
@@ -24,12 +27,14 @@ jobs:
2427
collision: 7.*
2528
- laravel: 11.*
2629
testbench: 9.*
27-
carbon: "^2.67|^3.0"
30+
carbon: ^2.67|^3.0
2831
laravel-package-tools: ^1.16
2932
collision: ^8.1.1
3033
exclude:
3134
- laravel: 11.*
3235
php: 8.1
36+
- laravel: 12.*
37+
php: 8.1
3338

3439
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3540

@@ -66,9 +71,9 @@ jobs:
6671
run: vendor/bin/pest --version
6772

6873
- name: Execute tests on Linux
69-
if: matrix.os == 'ubuntu-latest'
74+
if: "matrix.os == 'ubuntu-latest'"
7075
run: Xvfb :99 & DISPLAY=:99 vendor/bin/pest
7176

7277
- name: Execute tests on Windows
73-
if: matrix.os == 'windows-latest'
78+
if: "matrix.os == 'windows-latest'"
7479
run: vendor/bin/pest

0 commit comments

Comments
 (0)