Skip to content

Commit

Permalink
Merge pull request #12 from bfh/moodlepluginci82
Browse files Browse the repository at this point in the history
Assure compatibility for Moodle 4.3.0 (and PHP 8.2).
  • Loading branch information
lucaboesch authored Nov 8, 2023
2 parents 8c3b185 + b285af7 commit f8be6b8
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 5 deletions.
40 changes: 38 additions & 2 deletions .github/workflows/moodle-plugin-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:

services:
postgres:
image: postgres:12
image: postgres:13
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.5
image: mariadb:10.6
env:
MYSQL_USER: 'root'
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
Expand All @@ -30,6 +30,42 @@ jobs:
fail-fast: false
matrix:
include:
- php: 8.2
moodle-branch: MOODLE_403_STABLE
database: pgsql
- php: 8.2
moodle-branch: MOODLE_403_STABLE
database: mariadb
- php: 8.1
moodle-branch: MOODLE_403_STABLE
database: pgsql
- php: 8.1
moodle-branch: MOODLE_403_STABLE
database: mariadb
- php: 8.0
moodle-branch: MOODLE_403_STABLE
database: pgsql
- php: 8.0
moodle-branch: MOODLE_403_STABLE
database: mariadb
- php: 8.2
moodle-branch: MOODLE_402_STABLE
database: pgsql
- php: 8.2
moodle-branch: MOODLE_402_STABLE
database: mariadb
- php: 8.1
moodle-branch: MOODLE_402_STABLE
database: pgsql
- php: 8.1
moodle-branch: MOODLE_402_STABLE
database: mariadb
- php: 8.0
moodle-branch: MOODLE_402_STABLE
database: pgsql
- php: 8.0
moodle-branch: MOODLE_402_STABLE
database: mariadb
- php: 8.1
moodle-branch: MOODLE_401_STABLE
database: pgsql
Expand Down
2 changes: 2 additions & 0 deletions report.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ class quiz_archive_report extends quiz_archive_report_parent_class_alias {
protected $questions;
/** @var object course module object. */
protected $cm;
/** @var object course object. */
protected $course;
/** @var object the quiz settings object. */
protected $quiz;
/** @var context the quiz context. */
Expand Down
6 changes: 3 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2023010700;
$plugin->version = 2023110800;
$plugin->requires = 2017110800;
$plugin->component = 'quiz_archive';
$plugin->maturity = MATURITY_STABLE;
$plugin->release = 'v4.1-r1';
$plugin->supported = [39, 401];
$plugin->release = 'v4.3-r1';
$plugin->supported = [39, 403];

0 comments on commit f8be6b8

Please sign in to comment.