Skip to content

Commit 395fb6d

Browse files
committed
Update GitHub Actions workflow to support laravel 11
1 parent ec24b39 commit 395fb6d

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ${{ matrix.os }}
11+
runs-on: ubuntu-latest
12+
1213
strategy:
1314
fail-fast: true
1415
matrix:
@@ -32,6 +33,10 @@ jobs:
3233
exclude:
3334
- laravel: 11.*
3435
php: 8.1
36+
- laravel: 11.*
37+
php: 8.0
38+
- laravel: 11.*
39+
php: 7.4
3540
- laravel: 10.*
3641
php: 8.0
3742
- laravel: 10.*
@@ -49,9 +54,11 @@ jobs:
4954
MYSQL_PASSWORD: secret
5055
MYSQL_DATABASE: laravel_schema_rules
5156
MYSQL_ROOT_PASSWORD: secretroot
52-
ports:
53-
- 3306
54-
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
57+
options: >-
58+
--health-cmd="mysqladmin ping"
59+
--health-interval=10s
60+
--health-timeout=5s
61+
--health-retries=3
5562
5663
steps:
5764
- name: Checkout code
@@ -62,7 +69,6 @@ jobs:
6269
with:
6370
php-version: ${{ matrix.php }}
6471
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
65-
coverage: none
6672

6773
- name: Setup problem matchers
6874
run: |
@@ -82,4 +88,4 @@ jobs:
8288
env:
8389
DB_USERNAME: user
8490
DB_PASSWORD: secret
85-
DB_PORT: ${{ job.services.mysql.ports[3306] }}
91+
DB_PORT: ${{ job.services.mysql.ports['3306'] }}

0 commit comments

Comments
 (0)