@@ -30,35 +30,29 @@ jobs:
30
30
fail-fast : false
31
31
matrix :
32
32
include :
33
- - php : 7.4
34
- moodle-branch : MOODLE_401_STABLE
35
- database : mariadb
36
- - php : 7.4
37
- moodle-branch : MOODLE_401_STABLE
38
- database : pgsql
39
- - php : 8.0
40
- moodle-branch : MOODLE_401_STABLE
33
+ - php : 8.1
34
+ moodle-branch : MOODLE_402_STABLE
41
35
database : mariadb
42
- - php : 8.0
43
- moodle-branch : MOODLE_401_STABLE
36
+ - php : 8.1
37
+ moodle-branch : MOODLE_402_STABLE
44
38
database : pgsql
45
39
- php : 8.1
46
- moodle-branch : MOODLE_401_STABLE
40
+ moodle-branch : MOODLE_403_STABLE
47
41
database : mariadb
48
42
- php : 8.1
49
- moodle-branch : MOODLE_401_STABLE
43
+ moodle-branch : MOODLE_403_STABLE
50
44
database : pgsql
51
45
- php : 8.1
52
- moodle-branch : MOODLE_402_STABLE
46
+ moodle-branch : MOODLE_404_STABLE
53
47
database : mariadb
54
48
- php : 8.1
55
- moodle-branch : MOODLE_402_STABLE
49
+ moodle-branch : MOODLE_404_STABLE
56
50
database : pgsql
57
51
- php : 8.1
58
- moodle-branch : MOODLE_403_STABLE
52
+ moodle-branch : MOODLE_405_STABLE
59
53
database : mariadb
60
54
- php : 8.1
61
- moodle-branch : MOODLE_403_STABLE
55
+ moodle-branch : MOODLE_405_STABLE
62
56
database : pgsql
63
57
- php : 8.2
64
58
moodle-branch : MOODLE_402_STABLE
@@ -72,10 +66,34 @@ jobs:
72
66
- php : 8.2
73
67
moodle-branch : MOODLE_403_STABLE
74
68
database : pgsql
69
+ - php : 8.2
70
+ moodle-branch : MOODLE_404_STABLE
71
+ database : mariadb
72
+ - php : 8.2
73
+ moodle-branch : MOODLE_404_STABLE
74
+ database : pgsql
75
+ - php : 8.2
76
+ moodle-branch : MOODLE_405_STABLE
77
+ database : mariadb
78
+ - php : 8.2
79
+ moodle-branch : MOODLE_405_STABLE
80
+ database : pgsql
81
+ - php : 8.3
82
+ moodle-branch : MOODLE_404_STABLE
83
+ database : mariadb
84
+ - php : 8.3
85
+ moodle-branch : MOODLE_404_STABLE
86
+ database : pgsql
87
+ - php : 8.3
88
+ moodle-branch : MOODLE_405_STABLE
89
+ database : mariadb
90
+ - php : 8.3
91
+ moodle-branch : MOODLE_405_STABLE
92
+ database : pgsql
75
93
76
94
steps :
77
95
- name : Check out repository code
78
- uses : actions/checkout@v3
96
+ uses : actions/checkout@v4
79
97
with :
80
98
path : plugin
81
99
@@ -107,11 +125,6 @@ jobs:
107
125
if : ${{ always() }}
108
126
run : moodle-plugin-ci phplint
109
127
110
- - name : PHP Copy/Paste Detector
111
- continue-on-error : true # This step will show errors but will not fail
112
- if : ${{ always() }}
113
- run : moodle-plugin-ci phpcpd
114
-
115
128
- name : PHP Mess Detector
116
129
continue-on-error : true # This step will show errors but will not fail
117
130
if : ${{ always() }}
@@ -142,9 +155,8 @@ jobs:
142
155
run : moodle-plugin-ci grunt --max-lint-warnings 0
143
156
144
157
- name : PHPUnit tests
145
- # if: ${{ always() }}
146
- if : ${{ matrix.php != 8.2 && matrix.php != 8.1 }}
147
- run : moodle-plugin-ci phpunit --coverage-text
158
+ if : ${{ always() }}
159
+ run : moodle-plugin-ci phpunit --fail-on-warning
148
160
149
161
- name : Behat features
150
162
if : ${{ always() }}
0 commit comments