Skip to content

Commit

Permalink
Add 4.1 to testing matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy committed Apr 17, 2023
1 parent 655bdb0 commit ab9b14f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 10 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/moodle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04

services:
postgres:
image: postgres:10
image: postgres:13
env:
POSTGRES_USER: 'postgres'
POSTGRES_HOST_AUTH_METHOD: 'trust'
Expand All @@ -30,9 +30,23 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.3', '7.4', '8.0']
moodle-branch: ['MOODLE_400_STABLE']
database: [pgsql, mariadb]
include:
# Supported PHP versions: 4.0 - 7.3-8.0, 4.1 - 7.4-8.1
- php: 8.1
moodle-branch: MOODLE_401_STABLE
database: pgsql

- php: 8.0
moodle-branch: MOODLE_400_STABLE
database: pgsql

- php: 7.4
moodle-branch: MOODLE_401_STABLE
database: pgsql

- php: 7.3
moodle-branch: MOODLE_400_STABLE
database: mariadb

steps:
- name: Check out repository code
Expand Down Expand Up @@ -107,4 +121,5 @@ jobs:

- name: Behat features
if: ${{ always() }}
run: moodle-plugin-ci behat --profile chrome
run: moodle-plugin-ci behat --profile chrome

3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.

## [4.0.2] - Unreleased
## [4.0.2] - 2023-04-17
### Changed
- Course index always shows all sections and activities regardless of the current page. More details
https://github.com/marinaglancy/moodle-format_flexsections/issues/39
- Added automated tests on Moodle 4.1

## [4.0.1] - 2022-06-19
### Added
Expand Down
1 change: 1 addition & 0 deletions classes/courseformat/stateactions.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use context_course;
use core_courseformat\stateupdates;
use stdClass;
use core_component;

/**
* class stateactions
Expand Down
7 changes: 4 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@

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

$plugin->version = 2022061900; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2023041700; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2022041900.00; // Requires Moodle 4.0 or above.
$plugin->release = "4.0.1";
$plugin->release = "4.0.2";
$plugin->maturity = MATURITY_STABLE;
$plugin->component = 'format_flexsections'; // Full name of the plugin (used for diagnostics).
$plugin->supported = [400, 400];
$plugin->supported = [400, 401];

0 comments on commit ab9b14f

Please sign in to comment.