Skip to content

Commit 754a117

Browse files
authored
Update for 4.4
1 parent 7b7852f commit 754a117

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/moodle-ci.yml

+14-4
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
- php: '8.2'
3838
moodle-branch: 'main'
3939
database: 'pgsql'
40+
- php: '8.1'
41+
moodle-branch: 'MOODLE_404_STABLE'
42+
database: 'mariadb'
4043
- php: '8.1'
4144
moodle-branch: 'MOODLE_403_STABLE'
4245
database: 'mariadb'
43-
- php: '8.0'
44-
moodle-branch: 'MOODLE_402_STABLE'
45-
database: 'pgsql'
4646
- php: '8.0'
4747
moodle-branch: 'MOODLE_401_STABLE'
4848
database: 'mariadb'
@@ -105,7 +105,7 @@ jobs:
105105
run: moodle-plugin-ci savepoints
106106

107107
- name: Mustache Lint
108-
if: ${{ false }}
108+
if: ${{ !cancelled() }}
109109
run: moodle-plugin-ci mustache
110110

111111
- name: Grunt
@@ -117,9 +117,19 @@ jobs:
117117
run: moodle-plugin-ci phpunit --fail-on-warning
118118

119119
- name: Behat features
120+
id: behat
120121
if: ${{ !cancelled() }}
121122
run: moodle-plugin-ci behat --profile chrome
122123

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

0 commit comments

Comments
 (0)