Skip to content

Commit

Permalink
Check against Moodle 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
james-cnz committed Oct 3, 2023
1 parent 3e3eaf9 commit b9b0f95
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:

services:
postgres:
image: postgres:9.6 # Moodle 3.4-3.5: 9.3-11.x / Moodle 3.6-3.8: 9.4-11.x / Moodle 3.9: >=9.5 / Moodle 3.10-3.11: >=9.6
image: postgres:9.3 # Moodle 3.4-3.5: 9.3-11.x / Moodle 3.6-3.8: 9.4-11.x / Moodle 3.9: >=9.5 / Moodle 3.10-3.11: >=9.6
env:
POSTGRES_USER: 'postgres'
POSTGRES_HOST_AUTH_METHOD: 'trust'
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
mariadb:
image: mariadb:10.2 # Moodle 3.4-3.8: >=5.5.31 / Moodle 3.9-3.11 >=10.2.29 / 10.6 breaks Moodle, see MDL-72131
image: mariadb:5.5 # Moodle 3.4-3.8: >=5.5.31 / Moodle 3.9-3.11 >=10.2.29 / 10.6 breaks Moodle, see MDL-72131
env:
MYSQL_USER: 'root'
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
Expand All @@ -35,45 +35,45 @@ jobs:
matrix:
include:
# Moodle 3.4 (old) version.php $plugin -> requires = 2017111300
#- php: '7.0' # 7.0-7.2
# moodle-branch: 'MOODLE_34_STABLE'
# database: mariadb
# plugin-ci: ^3
- php: '7.0' # 7.0-7.2
moodle-branch: 'MOODLE_34_STABLE'
database: mariadb
plugin-ci: ^3
# Moodle 3.5
- php: '7.0' # 7.0-7.2
moodle-branch: 'MOODLE_35_STABLE'
database: pgsql
plugin-ci: ^3
# Moodle 3.6
- php: '7.0' # 7.0-7.3
moodle-branch: 'MOODLE_36_STABLE'
database: mariadb
plugin-ci: ^3
#- php: '7.0' # 7.0-7.3
# moodle-branch: 'MOODLE_36_STABLE'
# database: mariadb
# plugin-ci: ^3
# Moodle 3.7
- php: '7.1' # 7.1-7.3
moodle-branch: 'MOODLE_37_STABLE'
database: pgsql
plugin-ci: ^3
#- php: '7.1' # 7.1-7.3
# moodle-branch: 'MOODLE_37_STABLE'
# database: pgsql
# plugin-ci: ^3
# Moodle 3.8
- php: '7.2' # 7.1-7.4
moodle-branch: 'MOODLE_38_STABLE'
database: mariadb
plugin-ci: ^3
#- php: '7.2' # 7.1-7.4
# moodle-branch: 'MOODLE_38_STABLE'
# database: mariadb
# plugin-ci: ^3
# Moodle 3.9
- php: '7.3' # 7.2-7.4
moodle-branch: 'MOODLE_39_STABLE'
database: pgsql
plugin-ci: ^3
#- php: '7.3' # 7.2-7.4
# moodle-branch: 'MOODLE_39_STABLE'
# database: pgsql
# plugin-ci: ^3
# Moodle 3.10
- php: '7.4' # 7.2-7.4
moodle-branch: 'MOODLE_310_STABLE'
database: mariadb
plugin-ci: ^4
#- php: '7.4' # 7.2-7.4
# moodle-branch: 'MOODLE_310_STABLE'
# database: mariadb
# plugin-ci: ^4
# Moodle 3.11
- php: '8.0' # 7.3-8.0
moodle-branch: 'MOODLE_311_STABLE'
database: pgsql
plugin-ci: ^4
#- php: '8.0' # 7.3-8.0
# moodle-branch: 'MOODLE_311_STABLE'
# database: pgsql
# plugin-ci: ^4

steps:
- name: Check out repository code
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
defined('MOODLE_INTERNAL') || die();

$plugin->version = 2022053002; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2018051700; // Requires this Moodle version.
$plugin->requires = 2017111300; // Requires this Moodle version.
$plugin->component = 'format_multitopic'; // Full name of the plugin (used for diagnostics). // CHANGED: format name.
$plugin->maturity = MATURITY_STABLE;
$plugin->release = 'v3.2.2';

0 comments on commit b9b0f95

Please sign in to comment.