diff --git a/.github/workflows/moodle-plugin-ci.yml b/.github/workflows/moodle-plugin-ci.yml index 20b500f5..ad3d4f2e 100644 --- a/.github/workflows/moodle-plugin-ci.yml +++ b/.github/workflows/moodle-plugin-ci.yml @@ -16,7 +16,7 @@ jobs: - 5432:5432 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3 mariadb: - image: mariadb:10.5 + image: mariadb:10 env: MYSQL_USER: 'root' MYSQL_ALLOW_EMPTY_PASSWORD: "true" @@ -36,7 +36,8 @@ jobs: # - each moodle version at least once # - each database at least once include: - - {php: '7.3', moodle-branch: MOODLE_400_STABLE, database: mariadb} + - {php: '7.3', moodle-branch: MOODLE_400_STABLE, database: pgsql} + - {php: '7.4', moodle-branch: MOODLE_401_STABLE, database: mariadb} - {php: '8.0', moodle-branch: master, database: pgsql} steps: diff --git a/README.md b/README.md index 76c196a4..619de338 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ [![Latest Release](https://img.shields.io/github/v/release/studentquiz/moodle-mod_studentquiz?sort=semver&color=orange)](https://github.com/studentquiz/moodle-mod_studentquiz/releases) [![Build Status](https://github.com/studentquiz/moodle-mod_studentquiz/workflows/Moodle%20Plugin%20CI/badge.svg?branch=master)](https://github.com/studentquiz/moodle-mod_studentquiz/actions?query=workflow%3A%22Moodle+Plugin+CI%22+branch%3Amaster) -[![PHP Support](https://img.shields.io/badge/php-7.3_--_8.0-blue)](https://github.com/studentquiz/moodle-mod_studentquiz/actions) -[![Moodle Support](https://img.shields.io/badge/Moodle-%3E%3D%203.9-blue)](https://github.com/studentquiz/moodle-mod_studentquiz/actions) +[![PHP Support](https://img.shields.io/badge/php-7.3--8.0-blue)](https://github.com/studentquiz/moodle-mod_studentquiz/actions) +[![Moodle Support](https://img.shields.io/badge/Moodle-4.0--4.1+-orange)](https://github.com/studentquiz/moodle-mod_studentquiz/actions) [![License GPL-3.0](https://img.shields.io/github/license/studentquiz/moodle-mod_studentquiz?color=lightgrey)](https://github.com/studentquiz/moodle-mod_studentquiz/blob/master/LICENSE) [![GitHub contributors](https://img.shields.io/github/contributors/studentquiz/moodle-mod_studentquiz)](https://github.com/studentquiz/moodle-mod_studentquiz/graphs/contributors) @@ -40,7 +40,7 @@ For changes and instructions please read the [Release Notes](https://github.com/ ## Documentation -You can find manuals for each role in the [manuals website](https://docs.moodle.org/38/en/StudentQuiz_module). +You can find manuals for each role in the [manuals website](https://docs.moodle.org/40/en/StudentQuiz_module). ## Compatibility diff --git a/version.php b/version.php index 4a90f3d8..b19f1bd9 100644 --- a/version.php +++ b/version.php @@ -15,20 +15,17 @@ // along with Moodle. If not, see . /** - * Defines the version and other meta-info about the plugin + * StudentQuiz activity version information. * - * Setting the $plugin->version to 0 prevents the plugin from being installed. - * See https://docs.moodle.org/dev/version.php for more info. - * - * @package mod_studentquiz - * @copyright 2017 HSR (http://www.hsr.ch) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @package mod_studentquiz + * @copyright 2017 HSR (http://www.hsr.ch) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); -$plugin->component = 'mod_studentquiz'; -$plugin->version = 2022080343; -$plugin->release = 'v5.0.0'; -$plugin->requires = 2022020200; // Version MOODLE_4.0. -$plugin->cron = 0; +$plugin->version = 2022122200; +$plugin->requires = 2022020200; // Version MOODLE_4.0. +$plugin->component = 'mod_studentquiz'; +$plugin->maturity = MATURITY_STABLE; +$plugin->release = 'v5.1.0';