File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-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
45
45
46
46
steps :
47
47
- name : Checkout
48
- uses : actions/checkout@v3
48
+ uses : actions/checkout@v4
49
49
with :
50
50
path : plugin
51
51
@@ -60,12 +60,12 @@ jobs:
60
60
61
61
- name : Deploy moodle-plugin-ci
62
62
run : |
63
- composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
64
- # Add dirs to $PATH
63
+ composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4
65
64
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
66
65
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
67
- # PHPUnit depends on en_AU.UTF-8 locale
68
66
sudo locale-gen en_AU.UTF-8
67
+ # Install nvm.
68
+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
69
69
70
70
- name : Install Moodle
71
71
# 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