Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI workflow for moodle 404 #11

Merged
merged 4 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,20 @@ jobs:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
moodle-branch: [MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE]
moodle-branch: [MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE]
database: [pgsql, mariadb]
# See: https://moodledev.io/general/development/policies/php
exclude:
- php: '7.4'
moodle-branch: MOODLE_402_STABLE
- php: '7.4'
moodle-branch: MOODLE_403_STABLE
- php: '7.4'
moodle-branch: MOODLE_404_STABLE
- php: '8.0'
moodle-branch: MOODLE_403_STABLE
- php: '8.0'
moodle-branch: MOODLE_404_STABLE
- php: '8.2'
moodle-branch: MOODLE_401_STABLE

Expand All @@ -83,8 +87,9 @@ jobs:
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
sudo locale-gen en_AU.UTF-8
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV

#echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
# Install nvm v0.39.7 (Temporary workaround for https://github.com/moodlehq/moodle-plugin-ci/issues/309).
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- name: Install moodle-plugin-ci
run: moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1
env:
Expand Down
9 changes: 0 additions & 9 deletions classes/event/license_changed.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@ public static function get_name() {
return get_string('eventlicensechanged', 'local_listcoursefiles');
}

/**
* Does this event replace a legacy event?
*
* @return string legacy event name
*/
public static function get_legacy_eventname() {
return null;
}

/**
* Returns relevant URL.
*
Expand Down
4 changes: 2 additions & 2 deletions lang/de/local_listcoursefiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
$string['component'] = 'Komponente';
$string['description'] = 'Diese Seite listet alle Dateien im Kurs auf. Hinweis: Nicht alle Dateien können von hier heruntergeladen werden.';
$string['eventlicensechanged'] = 'Lizenz geändert';
$string['file_expired'] = 'Diese Datei steht aus urheberrechtlichen Gründen den Teilnehmern nicht zur Verfügung.';
$string['filename'] = 'Dateiname';
$string['filesize'] = 'Größe';
$string['filetype_all'] = 'Alle Dateitypen';
Expand All @@ -42,7 +43,6 @@
$string['filetype_image'] = 'Bild';
$string['filetype_other'] = 'Andere';
$string['filetype_video'] = 'Video';
$string['file_expired'] = 'Diese Datei steht aus urheberrechtlichen Gründen den Teilnehmern nicht zur Verfügung.';
$string['filter_components'] = 'Nach Komponente filtern';
$string['filter_filetype'] = 'Nach Dateityp filtern';
$string['invalid_license'] = 'Ungültige Lizenz gegeben.';
Expand All @@ -54,9 +54,9 @@
$string['listcoursefiles:download'] = 'Dateien im Kurs herunterladen';
$string['listcoursefiles:view'] = 'Alle Dateien in einem Kurs einsehen';
$string['mimetype'] = 'Dateityp';
$string['no_file_selected'] = 'Es wurde keine Datei ausgewählt.';
$string['nothingfound'] = 'Keine Dateien gefunden.';
$string['nottested'] = 'Nicht überprüft';
$string['no_file_selected'] = 'Es wurde keine Datei ausgewählt.';
$string['pluginname'] = 'Auflistung der Kursdateien';
$string['privacy:metadata'] = 'Das Plugin Auflistung der Kursdateien zeigt nur bereits existierende Dateien an.';
$string['too_many_files'] = 'Zu viele Dateien gegeben';
Expand Down
4 changes: 2 additions & 2 deletions lang/en/local_listcoursefiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
$string['component'] = 'Component';
$string['description'] = 'This page lists all files in the course. Please note that due to technical reasons not all files can be viewed from here.';
$string['eventlicensechanged'] = 'License changed';
$string['file_expired'] = 'This file is unavailable for students for copyright reasons.';
$string['filename'] = 'File name';
$string['filesize'] = 'File size';
$string['filetype_all'] = 'All file types';
Expand All @@ -42,7 +43,6 @@
$string['filetype_image'] = 'Image';
$string['filetype_other'] = 'Other';
$string['filetype_video'] = 'Video';
$string['file_expired'] = 'This file is unavailable for students for copyright reasons.';
$string['filter_components'] = 'Filter component';
$string['filter_filetype'] = 'Filter file type';
$string['invalid_license'] = 'Invalid license given';
Expand All @@ -54,9 +54,9 @@
$string['listcoursefiles:download'] = 'Download files in a course';
$string['listcoursefiles:view'] = 'View all files in a course';
$string['mimetype'] = 'File type';
$string['no_file_selected'] = 'You have not selected a file.';
$string['nothingfound'] = 'No files found';
$string['nottested'] = 'Not tested';
$string['no_file_selected'] = 'You have not selected a file.';
$string['pluginname'] = 'List course files';
$string['privacy:metadata'] = 'The list course files plugin only displays existing files.';
$string['too_many_files'] = 'Too many files given';
Expand Down
Loading