File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99 services :
1010 postgres :
11- image : postgres:13
11+ image : postgres:15
1212 env :
1313 POSTGRES_USER : ' postgres'
1414 POSTGRES_HOST_AUTH_METHOD : ' trust'
3636
3737 steps :
3838 - name : Check out repository code
39- uses : actions/checkout@v3
39+ uses : actions/checkout@v4
4040 with :
4141 path : plugin
4242
7070 if : ${{ !cancelled() }}
7171 run : moodle-plugin-ci phplint
7272
73- - name : PHP Copy/Paste Detector
74- continue-on-error : true # This step will show errors but will not fail
75- if : ${{ !cancelled() }}
76- run : moodle-plugin-ci phpcpd
77-
7873 - name : PHP Mess Detector
7974 continue-on-error : true # This step will show errors but will not fail
8075 if : ${{ !cancelled() }}
@@ -109,9 +104,19 @@ jobs:
109104 run : moodle-plugin-ci phpunit --fail-on-warning
110105
111106 - name : Behat features
107+ id : behat
112108 if : ${{ !cancelled() }}
113- run : moodle-plugin-ci behat --profile chrome
109+ run : moodle-plugin-ci behat --profile chrome --scss-deprecations
110+
111+ - name : Upload Behat Faildump
112+ if : ${{ failure() && steps.behat.outcome == 'failure' }}
113+ uses : actions/upload-artifact@v4
114+ with :
115+ name : Behat Faildump (${{ join(matrix.*, ', ') }})
116+ path : ${{ github.workspace }}/moodledata/behat_dump
117+ retention-days : 7
118+ if-no-files-found : ignore
114119
115120 - name : Mark cancelled jobs as failed.
116121 if : ${{ cancelled() }}
117- run : exit 1
122+ run : exit 1
You can’t perform that action at this time.
0 commit comments