Skip to content

Commit 555931e

Browse files
committed
Upgrade moodle-ci
1 parent b7c32f1 commit 555931e

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/moodle-ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copied from https://github.com/moodlehq/moodle-plugin-ci/blob/master/gha.dist.yml
1+
# Copied from https://github.com/moodlehq/moodle-plugin-ci/blob/main/.github/workflows/test.yml
22

33
name: Moodle Plugin CI
44

@@ -10,7 +10,7 @@ jobs:
1010

1111
services:
1212
postgres:
13-
image: postgres:14
13+
image: postgres:15
1414
env:
1515
POSTGRES_USER: 'postgres'
1616
POSTGRES_HOST_AUTH_METHOD: 'trust'
@@ -38,7 +38,7 @@ jobs:
3838
database: mariadb
3939
plugin-ci: ^4
4040
# Moodle 5.1, PHP 8.2, PostgreSQL
41-
- php: '8.3'
41+
- php: '8.4'
4242
moodle-branch: 'MOODLE_501_STABLE'
4343
database: pgsql
4444
plugin-ci: ^4
@@ -79,6 +79,11 @@ jobs:
7979
if: ${{ !cancelled() }}
8080
run: moodle-plugin-ci phplint
8181

82+
- name: PHP Copy/Paste Detector
83+
continue-on-error: true # This step will show errors but will not fail
84+
if: ${{ !cancelled() }}
85+
run: moodle-plugin-ci phpcpd
86+
8287
- name: PHP Mess Detector
8388
continue-on-error: true # This step will show errors but will not fail
8489
if: ${{ !cancelled() }}
@@ -115,7 +120,7 @@ jobs:
115120
- name: Behat features
116121
id: behat
117122
if: ${{ !cancelled() }}
118-
run: moodle-plugin-ci behat --profile chrome
123+
run: moodle-plugin-ci behat --profile chrome --scss-deprecations
119124

120125
- name: Upload Behat Faildump
121126
if: ${{ failure() && steps.behat.outcome == 'failure' }}

0 commit comments

Comments
 (0)