Skip to content

Commit fb19672

Browse files
laravel-shiftSRWieZ
authored andcommitted
Update GitHub Actions for Laravel 12
1 parent 9c73227 commit fb19672

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/run-tests.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,22 @@ name: run-tests
33
on:
44
workflow_dispatch:
55
push:
6-
branches: [main]
6+
branches:
7+
- main
78
pull_request:
8-
branches: [main]
9+
branches:
10+
- main
911

1012
jobs:
1113
test:
1214
runs-on: ${{ matrix.os }}
15+
1316
strategy:
1417
fail-fast: false
1518
matrix:
1619
os: [ubuntu-latest, windows-latest]
1720
php: [8.2, 8.1, 8.3]
18-
laravel: [10.*, 11.*]
21+
laravel: ['10.*', '11.*', '12.*']
1922
stability: [prefer-lowest, prefer-stable]
2023
include:
2124
- laravel: 10.*
@@ -31,6 +34,8 @@ jobs:
3134
exclude:
3235
- laravel: 11.*
3336
php: 8.1
37+
- laravel: 12.*
38+
php: 8.1
3439

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

@@ -67,9 +72,9 @@ jobs:
6772
run: vendor/bin/pest --version
6873

6974
- name: Execute tests on Linux
70-
if: matrix.os == 'ubuntu-latest'
75+
if: "matrix.os == 'ubuntu-latest'"
7176
run: Xvfb :99 & DISPLAY=:99 vendor/bin/pest
7277

7378
- name: Execute tests on Windows
74-
if: matrix.os == 'windows-latest'
79+
if: "matrix.os == 'windows-latest'"
7580
run: vendor/bin/pest

0 commit comments

Comments
 (0)