File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ on: [push, pull_request]
33
44jobs :
55 test :
6- runs-on : ' ubuntu-latest '
6+ runs-on : ubuntu-22.04
77
88 services :
99 postgres :
@@ -14,14 +14,14 @@ jobs:
1414 ports :
1515 - 5432:5432
1616 options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
17+
1718 mariadb :
18- image : mariadb:10.6
19+ image : mariadb:10
1920 env :
2021 MYSQL_USER : ' root'
2122 MYSQL_ALLOW_EMPTY_PASSWORD : " true"
2223 MYSQL_CHARACTER_SET_SERVER : " utf8mb4"
2324 MYSQL_COLLATION_SERVER : " utf8mb4_unicode_ci"
24-
2525 ports :
2626 - 3306:3306
2727 options : --health-cmd="mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 3
3030 fail-fast : false
3131 matrix :
3232 include :
33+ - php : ' 8.3'
34+ moodle-branch : ' MOODLE_404_STABLE'
35+ database : ' pgsql'
3336 - php : ' 8.2'
3437 moodle-branch : ' MOODLE_403_STABLE'
3538 database : ' mariadb'
4548
4649 steps :
4750 - name : Checkout
48- uses : actions/checkout@v3
51+ uses : actions/checkout@v4
4952 with :
5053 path : plugin
5154
@@ -60,12 +63,12 @@ jobs:
6063
6164 - name : Deploy moodle-plugin-ci
6265 run : |
63- composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
64- # Add dirs to $PATH
66+ composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4
6567 echo $(cd ci/bin; pwd) >> $GITHUB_PATH
6668 echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
67- # PHPUnit depends on en_AU.UTF-8 locale
6869 sudo locale-gen en_AU.UTF-8
70+ # Install nvm.
71+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
6972
7073 - name : Install Moodle
7174 # Need explicit IP to stop mysql client fail on attempt to use unix socket.
You can’t perform that action at this time.
0 commit comments