File tree 1 file changed +12
-7
lines changed
1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ jobs:
32
32
matrix :
33
33
include :
34
34
- php : ' 8.2'
35
- moodle-branch : ' master '
35
+ moodle-branch : ' main '
36
36
database : ' mariadb'
37
37
- php : ' 8.2'
38
- moodle-branch : ' master '
38
+ moodle-branch : ' main '
39
39
database : ' pgsql'
40
40
- php : ' 8.1'
41
41
moodle-branch : ' MOODLE_404_STABLE'
83
83
if : ${{ !cancelled() }}
84
84
run : moodle-plugin-ci phplint
85
85
86
- - name : PHP Copy/Paste Detector
87
- continue-on-error : true # This step will show errors but will not fail
88
- if : ${{ !cancelled() }}
89
- run : moodle-plugin-ci phpcpd
90
-
91
86
- name : PHP Mess Detector
92
87
continue-on-error : true # This step will show errors but will not fail
93
88
if : ${{ !cancelled() }}
@@ -122,9 +117,19 @@ jobs:
122
117
run : moodle-plugin-ci phpunit --fail-on-warning
123
118
124
119
- name : Behat features
120
+ id : behat
125
121
if : ${{ !cancelled() }}
126
122
run : moodle-plugin-ci behat --profile chrome
127
123
124
+ - name : Upload Behat Faildump
125
+ if : ${{ failure() && steps.behat.outcome == 'failure' }}
126
+ uses : actions/upload-artifact@v4
127
+ with :
128
+ name : Behat Faildump (${{ join(matrix.*, ', ') }})
129
+ path : ${{ github.workspace }}/moodledata/behat_dump
130
+ retention-days : 7
131
+ if-no-files-found : ignore
132
+
128
133
- name : Mark cancelled jobs as failed.
129
134
if : ${{ cancelled() }}
130
135
run : exit 1
You can’t perform that action at this time.
0 commit comments