@@ -11,13 +11,16 @@ jobs:
11
11
- php : ' 8.0'
12
12
moodle-branch : ' master'
13
13
database : ' pgsql'
14
+ - php : ' 7.4'
15
+ moodle-branch : ' MOODLE_400_STABLE'
16
+ database : ' pgsql'
14
17
- php : ' 7.3'
15
18
moodle-branch : ' MOODLE_400_STABLE'
16
19
database : ' mariadb'
17
20
18
21
services :
19
22
postgres :
20
- image : postgres:10
23
+ image : postgres
21
24
env :
22
25
POSTGRES_USER : ' postgres'
23
26
POSTGRES_HOST_AUTH_METHOD : ' trust'
34
37
env :
35
38
MYSQL_USER : ' root'
36
39
MYSQL_ALLOW_EMPTY_PASSWORD : " true"
37
- MYSQL_CHARACTER_SET_SERVER : " utf8mb4"
38
- MYSQL_COLLATION_SERVER : " utf8mb4_unicode_ci"
39
40
ports :
40
41
- 3306:3306
41
42
options : --health-cmd="mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 3
@@ -46,13 +47,12 @@ jobs:
46
47
with :
47
48
path : plugin
48
49
49
- - name : Setup PHP ${{ matrix.php }}
50
+ - name : Setup PHP
50
51
uses : shivammathur/setup-php@v2
51
52
with :
52
53
php-version : ${{ matrix.php }}
53
54
extensions : ${{ matrix.extensions }}
54
55
ini-values : max_input_vars=5000
55
- coverage : none
56
56
57
57
- name : Deploy moodle-plugin-ci
58
58
run : |
62
62
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
63
63
# PHPUnit depends on en_AU.UTF-8 locale
64
64
sudo locale-gen en_AU.UTF-8
65
- echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
66
65
67
66
- name : Install Moodle
68
67
# Need explicit IP to stop mysql client fail on attempt to use unix socket.
@@ -108,7 +107,7 @@ jobs:
108
107
109
108
- name : Grunt
110
109
if : ${{ always() }}
111
- run : moodle-plugin-ci grunt --max-lint-warnings 0
110
+ run : moodle-plugin-ci grunt
112
111
113
112
- name : PHPUnit tests
114
113
if : ${{ always() }}
0 commit comments