Skip to content

Commit d8cbd36

Browse files
committed
Update CI workflow
1 parent 6972b33 commit d8cbd36

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Moodle Plugin CI
2-
# Based on version gha.dist.yml version 4.5.4
2+
# Based on version gha.dist.yml version 4.5.7
33

44
on:
55
push:
@@ -15,7 +15,7 @@ jobs:
1515

1616
services:
1717
postgres:
18-
image: postgres:13
18+
image: postgres:14
1919
env:
2020
POSTGRES_USER: 'postgres'
2121
POSTGRES_HOST_AUTH_METHOD: 'trust'
@@ -38,7 +38,7 @@ jobs:
3838
fail-fast: false
3939
matrix:
4040
php: ['8.1', '8.2']
41-
moodle-branch: ['MOODLE_404_STABLE', 'MOODLE_405_STABLE']
41+
moodle-branch: ['MOODLE_404_STABLE', 'MOODLE_405_STABLE', 'MOODLE_500_STABLE']
4242
database: [pgsql, mariadb]
4343

4444
steps:
@@ -115,7 +115,16 @@ jobs:
115115

116116
- name: Behat features
117117
if: ${{ !cancelled() }}
118-
run: moodle-plugin-ci behat --profile chrome
118+
run: moodle-plugin-ci behat --profile chrome --scss-deprecations
119+
120+
- name: Upload Behat Faildump
121+
if: ${{ failure() && steps.behat.outcome == 'failure' }}
122+
uses: actions/upload-artifact@v4
123+
with:
124+
name: Behat Faildump (${{ join(matrix.*, ', ') }})
125+
path: ${{ github.workspace }}/moodledata/behat_dump
126+
retention-days: 7
127+
if-no-files-found: ignore
119128

120129
- name: Mark cancelled jobs as failed.
121130
if: ${{ cancelled() }}

0 commit comments

Comments
 (0)