88
99 services :
1010 postgres :
11- image : postgres
11+ image : postgres:13
1212 env :
1313 POSTGRES_USER : ' postgres'
1414 POSTGRES_HOST_AUTH_METHOD : ' trust'
1515 ports :
1616 - 5432:5432
1717 options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
1818 mariadb :
19- image : mariadb
19+ image : mariadb:10.6
2020 env :
2121 MYSQL_USER : ' root'
2222 MYSQL_ALLOW_EMPTY_PASSWORD : " true"
2828 fail-fast : false
2929 matrix :
3030 include :
31+ - php : 8.3
32+ moodle-branch : MOODLE_404_STABLE
33+ database : pgsql
34+ - php : 8.3
35+ moodle-branch : MOODLE_404_STABLE
36+ database : mariadb
37+
38+ - php : 8.2
39+ moodle-branch : MOODLE_403_STABLE
40+ database : pgsql
41+ - php : 8.2
42+ moodle-branch : MOODLE_403_STABLE
43+ database : mariadb
44+
45+ - php : 8.1
46+ moodle-branch : MOODLE_402_STABLE
47+ database : pgsql
48+ - php : 8.1
49+ moodle-branch : MOODLE_402_STABLE
50+ database : mariadb
51+
3152 - php : 8.0
3253 moodle-branch : MOODLE_401_STABLE
3354 database : pgsql
6384 moodle-branch : MOODLE_311_STABLE
6485 database : mariadb
6586
66- - php : 7.3
67- moodle-branch : MOODLE_311_STABLE
68- database : pgsql
69- - php : 7.3
70- moodle-branch : MOODLE_311_STABLE
71- database : mariadb
72-
7387 steps :
7488 - name : Check out repository code
75- uses : actions/checkout@v3
89+ uses : actions/checkout@v4
7690 with :
7791 path : plugin
7892
86100
87101 - name : Initialise moodle-plugin-ci
88102 run : |
89- composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
103+ composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4
90104 echo $(cd ci/bin; pwd) >> $GITHUB_PATH
91105 echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
92106 sudo locale-gen en_AU.UTF-8
@@ -106,11 +120,6 @@ jobs:
106120 if : ${{ always() }}
107121 run : moodle-plugin-ci phplint
108122
109- - name : PHP Copy/Paste Detector
110- continue-on-error : true # This step will show errors but will not fail
111- if : ${{ always() }}
112- run : moodle-plugin-ci phpcpd
113-
114123 - name : PHP Mess Detector
115124 continue-on-error : true # This step will show errors but will not fail
116125 if : ${{ always() }}
@@ -146,4 +155,4 @@ jobs:
146155
147156 - name : Behat features
148157 if : ${{ always() }}
149- run : moodle-plugin-ci behat --profile chrome
158+ run : moodle-plugin-ci behat --profile chrome
0 commit comments