Skip to content

Commit 083d576

Browse files
laravel-shifttpetry
authored andcommitted
Update GitHub Actions for Laravel 11
1 parent 08eb121 commit 083d576

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/phpunit.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
name: PHPUnit
22

3-
on: [push, pull_request]
3+
on:
4+
- push
5+
- pull_request
46

57
jobs:
68
test:
79
runs-on: ubuntu-latest
10+
811
strategy:
912
fail-fast: false
1013
matrix:
1114
php: [8.0, 8.1, 8.2, 8.3]
12-
laravel: [6.*, 7.*, 8.*, 9.*, 10.*]
15+
laravel: ['6.*', '7.*', '8.*', '9.*', '10.*', '11.*']
1316
stability: [prefer-lowest, prefer-stable]
1417
include:
1518
- laravel: 6.*
@@ -54,6 +57,10 @@ jobs:
5457
- php: 8.3
5558
laravel: 9.*
5659
stability: prefer-lowest
60+
- laravel: 11.*
61+
php: 8.0
62+
- laravel: 11.*
63+
php: 8.1
5764

5865
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
5966

@@ -64,11 +71,7 @@ jobs:
6471
POSTGRES_PASSWORD: postgres
6572
ports:
6673
- 5432:5432
67-
options: >-
68-
--health-cmd pg_isready
69-
--health-interval 10s
70-
--health-timeout 5s
71-
--health-retries 5
74+
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
7275

7376
steps:
7477
- name: Checkout code

0 commit comments

Comments
 (0)