Skip to content

Commit 64c8563

Browse files
authored
Update for 4.4
1 parent bf037b3 commit 64c8563

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/moodle-ci.yml

+12-7
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
matrix:
3333
include:
3434
- php: '8.2'
35-
moodle-branch: 'master'
35+
moodle-branch: 'main'
3636
database: 'mariadb'
3737
- php: '8.2'
38-
moodle-branch: 'master'
38+
moodle-branch: 'main'
3939
database: 'pgsql'
4040
- php: '8.1'
4141
moodle-branch: 'MOODLE_404_STABLE'
@@ -83,11 +83,6 @@ jobs:
8383
if: ${{ !cancelled() }}
8484
run: moodle-plugin-ci phplint
8585

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-
9186
- name: PHP Mess Detector
9287
continue-on-error: true # This step will show errors but will not fail
9388
if: ${{ !cancelled() }}
@@ -122,9 +117,19 @@ jobs:
122117
run: moodle-plugin-ci phpunit --fail-on-warning
123118

124119
- name: Behat features
120+
id: behat
125121
if: ${{ !cancelled() }}
126122
run: moodle-plugin-ci behat --profile chrome
127123

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+
128133
- name: Mark cancelled jobs as failed.
129134
if: ${{ cancelled() }}
130135
run: exit 1

0 commit comments

Comments
 (0)