Skip to content

Commit 043d175

Browse files
committed
Update githup actions config to test with PHP 8 and Moodle 4.1
1 parent a20b065 commit 043d175

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,19 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
include:
12+
- php: '8.0'
13+
moodle-branch: 'master'
14+
database: 'pgsql'
1215
- php: '7.4'
13-
moodle-branch: 'MOODLE_400_STABLE'
16+
moodle-branch: 'MOODLE_401_STABLE'
1417
database: 'pgsql'
1518
- php: '7.3'
1619
moodle-branch: 'MOODLE_400_STABLE'
1720
database: 'mariadb'
1821

1922
services:
2023
postgres:
21-
image: postgres:10
24+
image: postgres:13
2225
env:
2326
POSTGRES_USER: 'postgres'
2427
POSTGRES_HOST_AUTH_METHOD: 'trust'
@@ -119,7 +122,7 @@ jobs:
119122
run: moodle-plugin-ci mustache
120123

121124
- name: Grunt
122-
if: ${{ always() }}
125+
if: ${{ matrix.moodle-branch == 'MOODLE_400_STABLE' }}
123126
run: moodle-plugin-ci grunt
124127

125128
- name: PHPUnit tests

0 commit comments

Comments
 (0)