8
8
9
9
services :
10
10
postgres :
11
- image : postgres
11
+ image : postgres:13
12
12
env :
13
13
POSTGRES_USER : ' postgres'
14
14
POSTGRES_HOST_AUTH_METHOD : ' trust'
15
15
ports :
16
16
- 5432:5432
17
17
options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
18
18
mariadb :
19
- image : mariadb
19
+ image : mariadb:10.6
20
20
env :
21
21
MYSQL_USER : ' root'
22
22
MYSQL_ALLOW_EMPTY_PASSWORD : " true"
28
28
fail-fast : false
29
29
matrix :
30
30
include :
31
+ - php : 8.3
32
+ moodle-branch : MOODLE_404_STABLE
33
+ database : pgsql
34
+ - php : 8.3
35
+ moodle-branch : MOODLE_404_STABLE
36
+ database : mariadb
37
+
38
+ - php : 8.2
39
+ moodle-branch : MOODLE_403_STABLE
40
+ database : pgsql
41
+ - php : 8.2
42
+ moodle-branch : MOODLE_403_STABLE
43
+ database : mariadb
44
+
45
+ - php : 8.1
46
+ moodle-branch : MOODLE_402_STABLE
47
+ database : pgsql
48
+ - php : 8.1
49
+ moodle-branch : MOODLE_402_STABLE
50
+ database : mariadb
51
+
31
52
- php : 8.0
32
53
moodle-branch : MOODLE_401_STABLE
33
54
database : pgsql
63
84
moodle-branch : MOODLE_311_STABLE
64
85
database : mariadb
65
86
66
- - php : 7.3
67
- moodle-branch : MOODLE_311_STABLE
68
- database : pgsql
69
- - php : 7.3
70
- moodle-branch : MOODLE_311_STABLE
71
- database : mariadb
72
-
73
87
steps :
74
88
- name : Check out repository code
75
- uses : actions/checkout@v3
89
+ uses : actions/checkout@v4
76
90
with :
77
91
path : plugin
78
92
86
100
87
101
- name : Initialise moodle-plugin-ci
88
102
run : |
89
- composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
103
+ composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4
90
104
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
91
105
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
92
106
sudo locale-gen en_AU.UTF-8
@@ -106,11 +120,6 @@ jobs:
106
120
if : ${{ always() }}
107
121
run : moodle-plugin-ci phplint
108
122
109
- - name : PHP Copy/Paste Detector
110
- continue-on-error : true # This step will show errors but will not fail
111
- if : ${{ always() }}
112
- run : moodle-plugin-ci phpcpd
113
-
114
123
- name : PHP Mess Detector
115
124
continue-on-error : true # This step will show errors but will not fail
116
125
if : ${{ always() }}
@@ -146,4 +155,4 @@ jobs:
146
155
147
156
- name : Behat features
148
157
if : ${{ always() }}
149
- run : moodle-plugin-ci behat --profile chrome
158
+ run : moodle-plugin-ci behat --profile chrome
0 commit comments