Skip to content

Commit

Permalink
Moodle 4.4 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulholden committed Apr 22, 2024
1 parent fe3fde0 commit 070ff14
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ jobs:
moodle-branch: 'MOODLE_402_STABLE'
- php: '8.1'
moodle-branch: 'MOODLE_403_STABLE'
- php: '8.2'
moodle-branch: 'MOODLE_404_STABLE'

steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: plugin

Expand Down Expand Up @@ -68,9 +70,19 @@ jobs:
run: moodle-plugin-ci phpunit --fail-on-warning --coverage-text

- name: Behat tests
id: behat
if: ${{ !cancelled() }}
run: moodle-plugin-ci behat --profile chrome

- name: Behat failures
if: ${{ failure() && steps.behat.outcome == 'failure' }}
uses: actions/upload-artifact@v4
with:
name: Behat failures (${{ join(matrix.*, ', ') }})
path: ${{ github.workspace }}/moodledata/behat_dump
retention-days: 7
if-no-files-found: ignore

- name: Mark cancelled jobs as failed
if: ${{ cancelled() }}
run: exit 1
2 changes: 1 addition & 1 deletion tests/privacy/provider_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ public function test_export_user_data(): void {
$definition = reset($data);
$this->assertSame($this->persistent->get_cohort()->name, $definition->cohort);
$this->assertSame(role_get_name($this->persistent->get_role(), $context, ROLENAME_ALIAS), $definition->role);
$this->assertObjectHasAttribute('timecreated', $definition);
$this->assertNotEmpty($definition->timecreated);
}
}
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'local_cohortrole';
$plugin->release = '4.3';
$plugin->version = 2023121100;
$plugin->release = '4.4';
$plugin->version = 2024042200;
$plugin->requires = 2022112800; // Moodle 4.1 onwards.
$plugin->maturity = MATURITY_STABLE;

0 comments on commit 070ff14

Please sign in to comment.