Skip to content

Commit

Permalink
update workflow matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
TamaroWalter committed May 8, 2024
1 parent f2e1f6f commit 14b2074
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,27 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['8.0', '8.1']
moodle-branch: ['MOODLE_401_STABLE', 'MOODLE_402_STABLE', 'MOODLE_403_STABLE']
database: ['mariadb', 'pgsql']
php: ['8.0', '8.1', '8.2', '8.3']
moodle-branch: ['MOODLE_401_STABLE', 'MOODLE_402_STABLE', 'MOODLE_403_STABLE', 'MOODLE_404_STABLE']
database: [ 'mariadb', 'pgsql' ]
exclude:
- php: '8.0'
moodle-branch: 'MOODLE_404_STABLE'
- php: '8.2'
moodle-branch: 'MOODLE_401_STABLE'
- php: '8.3'
moodle-branch: 'MOODLE_401_STABLE'
- php: '8.3'
moodle-branch: 'MOODLE_402_STABLE'
- php: '8.3'
moodle-branch: 'MOODLE_403_STABLE'
include:
- php: '7.4'
moodle-branch: 'MOODLE_401_STABLE'
database: 'pgsql'
- php: '7.4'
moodle-branch: 'MOODLE_401_STABLE'
database: 'mariadb'

steps:
- name: Start MariaDB
Expand Down
2 changes: 2 additions & 0 deletions classes/townsquareevents.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ private function get_events_from_db($timestart, $timeend, $courses): array {
$coremodules = ['assign', 'book', 'chat', 'choice', 'data', 'feedback', 'file', 'folder', 'forum', 'glossary',
'h5pactivity', 'imscp', 'label', 'lesson', 'lti', 'page', 'quiz', 'resource', 'scorm', 'survey', 'url',
'wiki', 'workshop', ];

// TODO: Additional modules should be implemented with subplugins.
$additionalmodules = ['moodleoverflow', 'ratingallocate'];
$modules = $coremodules + $additionalmodules;

Expand Down

0 comments on commit 14b2074

Please sign in to comment.