Skip to content

Commit

Permalink
Prepare for Moodle 4.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed Apr 21, 2024
1 parent 29e08be commit 453e4ca
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 18 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/moodle-plugin-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

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

services:
postgres:
Expand Down Expand Up @@ -61,6 +61,12 @@ jobs:
- php: 8.1
moodle-branch: MOODLE_403_STABLE
database: pgsql
- php: 8.1
moodle-branch: MOODLE_404_STABLE
database: mariadb
- php: 8.1
moodle-branch: MOODLE_404_STABLE
database: pgsql
- php: 8.2
moodle-branch: MOODLE_402_STABLE
database: mariadb
Expand All @@ -73,10 +79,22 @@ jobs:
- php: 8.2
moodle-branch: MOODLE_403_STABLE
database: pgsql
- php: 8.2
moodle-branch: MOODLE_404_STABLE
database: mariadb
- php: 8.2
moodle-branch: MOODLE_404_STABLE
database: pgsql
- php: 8.3
moodle-branch: MOODLE_404_STABLE
database: mariadb
- php: 8.3
moodle-branch: MOODLE_404_STABLE
database: pgsql

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

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
[![Moodle Plugin CI](https://github.com/bfh/moodle-mod_verbalfeedback/workflows/Moodle%20Plugin%20CI/badge.svg?branch=main)](https://github.com/bfh/moodle-mod_verbalfeedback/actions?query=workflow%3A%22Moodle+Plugin+CI%22+branch%3Amain)
[![GitHub
Release](https://img.shields.io/github/release/bfh/moodle-mod_verbalfeedback.svg)](https://github.com/bfh/moodle-mod_verbalfeedback/releases)
[![PHP Support](https://img.shields.io/badge/php-7.4--8.2-blue)](https://github.com/bfh/moodle-mod_verbalfeedback/actions)
[![Moodle Support](https://img.shields.io/badge/Moodle-4.1--4.3-orange)](https://github.com/bfh/moodle-mod_verbalfeedback/actions)
[![PHP Support](https://img.shields.io/badge/php-7.4--8.3-blue)](https://github.com/bfh/moodle-mod_verbalfeedback/actions)
[![Moodle Support](https://img.shields.io/badge/Moodle-4.1--4.4-orange)](https://github.com/bfh/moodle-mod_verbalfeedback/actions)
[![License GPL-3.0](https://img.shields.io/github/license/bfh/moodle-mod_verbalfeedback?color=lightgrey)](https://github.com/bfh/moodle-mod_verbalfeedback/blob/main/LICENSE)
[![GitHub contributors](https://img.shields.io/github/contributors/bfh/moodle-mod_verbalfeedback)](https://github.com/bfh/moodle-mod_verbalfeedback/graphs/contributors)

Expand Down
4 changes: 2 additions & 2 deletions tests/behat/add_verbalfeedback.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Feature: Add a verbal feedback activity
| student1 | C1 | student |
And I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Verbal feedback" to section "1" and I fill the form with:
And I add a verbalfeedback activity to course "Course 1" section "1" and I fill the form with:
| Name | Test verbal feedback |
| Description | Test verbal feedback description |
| Template | Default template |
Expand All @@ -46,7 +46,7 @@ Feature: Add a verbal feedback activity
| student1 | C1 | student |
And I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Verbal feedback" to section "1" and I fill the form with:
And I add a verbalfeedback activity to course "Course 1" section "1" and I fill the form with:
| Name | Test verbal feedback |
| Description | Test verbal feedback description |
| Template | Default template |
Expand Down
4 changes: 2 additions & 2 deletions tests/behat/configure_verbalfeedback.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Feature: Configure a verbal feedback activity
Scenario: Add a verbal feedback to a course without questions
When I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Verbal feedback" to section "1" and I fill the form with:
And I add a verbalfeedback activity to course "Course 1" section "1" and I fill the form with:
| Name | Test verbal feedback |
| Description | Test verbal feedback description |
| Template | Default template |
Expand All @@ -36,7 +36,7 @@ Feature: Configure a verbal feedback activity
Scenario: Add a verbal feedback to a course using the default template and weight one category with 0 and one criteria with 0
When I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Verbal feedback" to section "1" and I fill the form with:
And I add a verbalfeedback activity to course "Course 1" section "1" and I fill the form with:
| Name | Test verbal feedback |
| Description | Test verbal feedback description |
| Template | Default template |
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/create_verbalfeedback_template.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Feature: create a verbal feedback activity template
Scenario: Create a verbal feedback activity template
When I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Verbal feedback" to section "1" and I fill the form with:
And I add a verbalfeedback activity to course "Course 1" section "1" and I fill the form with:
| Name | Test verbal feedback |
| Description | Test verbal feedback description |
| Template | Default template |
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/grade_verbalfeedback.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Feature: Grade a verbal feedback activity
And the "multilang" filter applies to "content and headings"
And I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Verbal feedback" to section "1" and I fill the form with:
And I add a verbalfeedback activity to course "Course 1" section "1" and I fill the form with:
| Name | Test verbal feedback |
| Description | Test verbal feedback description |
| Template | Default template |
Expand Down
10 changes: 5 additions & 5 deletions tests/behat/modify_verbalfeedback_templates.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Feature: Modify a verbal feedback activity template
Scenario: Edit a verbal feedback activity template
When I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Verbal feedback" to section "1" and I fill the form with:
And I add a verbalfeedback activity to course "Course 1" section "1" and I fill the form with:
| Name | Test verbal feedback |
| Description | Test verbal feedback description |
| Template | Default template |
Expand All @@ -36,7 +36,7 @@ Feature: Modify a verbal feedback activity template
Scenario: Delete a verbal feedback activity template
When I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Verbal feedback" to section "1" and I fill the form with:
And I add a verbalfeedback activity to course "Course 1" section "1" and I fill the form with:
| Name | Test verbal feedback |
| Description | Test verbal feedback description |
| Template | Default template |
Expand All @@ -52,7 +52,7 @@ Feature: Modify a verbal feedback activity template
Scenario: Delete a verbal feedback activity category template
When I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Verbal feedback" to section "1" and I fill the form with:
And I add a verbalfeedback activity to course "Course 1" section "1" and I fill the form with:
| Name | Test verbal feedback |
| Description | Test verbal feedback description |
| Template | Default template |
Expand All @@ -69,7 +69,7 @@ Feature: Modify a verbal feedback activity template
Scenario: Delete a verbal feedback activity criteria template
When I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Verbal feedback" to section "1" and I fill the form with:
And I add a verbalfeedback activity to course "Course 1" section "1" and I fill the form with:
| Name | Test verbal feedback |
| Description | Test verbal feedback description |
| Template | Default template |
Expand All @@ -86,7 +86,7 @@ Feature: Modify a verbal feedback activity template
Scenario: Delete a verbal feedback activity language
When I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Verbal feedback" to section "1" and I fill the form with:
And I add a verbalfeedback activity to course "Course 1" section "1" and I fill the form with:
| Name | Test verbal feedback |
| Description | Test verbal feedback description |
| Template | Default template |
Expand Down
6 changes: 3 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'mod_verbalfeedback';
$plugin->version = 2023112700;
$plugin->version = 2024042200;
$plugin->requires = 2022112800;
$plugin->maturity = MATURITY_STABLE;
$plugin->cron = 0;
$plugin->supported = [401, 403];
$plugin->release = 'v4.3-r1';
$plugin->supported = [401, 404];
$plugin->release = 'v4.4-r1';

0 comments on commit 453e4ca

Please sign in to comment.