File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ on: [push, pull_request]
3
3
4
4
jobs :
5
5
test :
6
- runs-on : ' ubuntu-latest '
6
+ runs-on : ubuntu-22.04
7
7
8
8
services :
9
9
postgres :
@@ -14,14 +14,14 @@ jobs:
14
14
ports :
15
15
- 5432:5432
16
16
options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
17
+
17
18
mariadb :
18
- image : mariadb:10.6
19
+ image : mariadb:10
19
20
env :
20
21
MYSQL_USER : ' root'
21
22
MYSQL_ALLOW_EMPTY_PASSWORD : " true"
22
23
MYSQL_CHARACTER_SET_SERVER : " utf8mb4"
23
24
MYSQL_COLLATION_SERVER : " utf8mb4_unicode_ci"
24
-
25
25
ports :
26
26
- 3306:3306
27
27
options : --health-cmd="mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 3
30
30
fail-fast : false
31
31
matrix :
32
32
include :
33
+ - php : ' 8.3'
34
+ moodle-branch : ' MOODLE_404_STABLE'
35
+ database : ' pgsql'
33
36
- php : ' 8.2'
34
37
moodle-branch : ' MOODLE_403_STABLE'
35
38
database : ' mariadb'
45
48
46
49
steps :
47
50
- name : Checkout
48
- uses : actions/checkout@v3
51
+ uses : actions/checkout@v4
49
52
with :
50
53
path : plugin
51
54
@@ -60,12 +63,12 @@ jobs:
60
63
61
64
- name : Deploy moodle-plugin-ci
62
65
run : |
63
- composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
64
- # Add dirs to $PATH
66
+ composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4
65
67
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
66
68
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
67
- # PHPUnit depends on en_AU.UTF-8 locale
68
69
sudo locale-gen en_AU.UTF-8
70
+ # Install nvm.
71
+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
69
72
70
73
- name : Install Moodle
71
74
# Need explicit IP to stop mysql client fail on attempt to use unix socket.
You can’t perform that action at this time.
0 commit comments