Skip to content

Commit 16d8a51

Browse files
author
Anisa
committed
update github workflows
1 parent c91d15d commit 16d8a51

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

.github/workflows/moodle-plugin-ci.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ jobs:
88

99
services:
1010
postgres:
11-
image: postgres:12
11+
image: postgres
1212
env:
1313
POSTGRES_USER: 'postgres'
1414
POSTGRES_HOST_AUTH_METHOD: 'trust'
1515
ports:
1616
- 5432:5432
1717
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
1818
mariadb:
19-
image: mariadb:10.5
19+
image: mariadb
2020
env:
2121
MYSQL_USER: 'root'
2222
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
@@ -28,18 +28,34 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
include:
31+
- php: 8.0
32+
moodle-branch: MOODLE_401_STABLE
33+
database: pgsql
34+
- php: 8.0
35+
moodle-branch: MOODLE_401_STABLE
36+
database: mariadb
37+
38+
- php: 8.0
39+
moodle-branch: MOODLE_400_STABLE
40+
database: pgsql
41+
- php: 8.0
42+
moodle-branch: MOODLE_400_STABLE
43+
database: mariadb
44+
3145
- php: 7.4
3246
moodle-branch: MOODLE_401_STABLE
3347
database: pgsql
3448
- php: 7.4
3549
moodle-branch: MOODLE_401_STABLE
3650
database: mariadb
51+
3752
- php: 7.4
3853
moodle-branch: MOODLE_400_STABLE
3954
database: pgsql
4055
- php: 7.4
4156
moodle-branch: MOODLE_400_STABLE
4257
database: mariadb
58+
4359
- php: 7.4
4460
moodle-branch: MOODLE_311_STABLE
4561
database: pgsql
@@ -70,7 +86,7 @@ jobs:
7086

7187
- name: Initialise moodle-plugin-ci
7288
run: |
73-
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
89+
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4
7490
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
7591
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
7692
sudo locale-gen en_AU.UTF-8
@@ -130,6 +146,4 @@ jobs:
130146

131147
- name: Behat features
132148
if: ${{ always() }}
133-
run: moodle-plugin-ci behat --profile chrome
134-
135-
149+
run: moodle-plugin-ci behat --profile chrome

0 commit comments

Comments
 (0)