From 970a55f088c4cd05c2f8dee5225d4b7bf36992ba Mon Sep 17 00:00:00 2001 From: Thomas Niedermaier Date: Sun, 10 Nov 2024 17:09:14 +0100 Subject: [PATCH] new ci with config.json --- .github/workflows/config.json | 11 +++++++++++ .github/workflows/config_all.json | 15 +++++++++++++++ .github/workflows/moodle-ci.yml | 11 +++++++++++ 3 files changed, 37 insertions(+) create mode 100644 .github/workflows/config.json create mode 100644 .github/workflows/config_all.json create mode 100644 .github/workflows/moodle-ci.yml diff --git a/.github/workflows/config.json b/.github/workflows/config.json new file mode 100644 index 0000000..e4f2bee --- /dev/null +++ b/.github/workflows/config.json @@ -0,0 +1,11 @@ +{ + "main-moodle": "MOODLE_405_STABLE", + "main-php": "8.3", + "main-oc": "16.6", + "ocs": ["16.6", "15.11"], + "main-db": "mariadb", + "moodle-php": { + "MOODLE_405_STABLE": ["8.1", "8.2"] + }, + "moodle-plugin-ci": "4.4.5" +} diff --git a/.github/workflows/config_all.json b/.github/workflows/config_all.json new file mode 100644 index 0000000..558800c --- /dev/null +++ b/.github/workflows/config_all.json @@ -0,0 +1,15 @@ +{ + "main-moodle": "MOODLE_405_STABLE", + "main-php": "8.3", + "main-oc": "16.6", + "ocs": ["16.6", "15.11"], + "main-db": "mariadb", + "moodle-php": { + "MOODLE_401_STABLE": ["7.4", "8.0", "8.1"], + "MOODLE_402_STABLE": ["8.0", "8.1", "8.2"], + "MOODLE_403_STABLE": ["8.0", "8.1", "8.2"], + "MOODLE_404_STABLE": ["8.1", "8.2", "8.3"], + "MOODLE_405_STABLE": ["8.1", "8.2", "8.3"] + }, + "moodle-plugin-ci": "4.4.5" +} diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml new file mode 100644 index 0000000..7515255 --- /dev/null +++ b/.github/workflows/moodle-ci.yml @@ -0,0 +1,11 @@ +name: Moodle Plugin CI + +######################################################################################################################## + +on: [ push, pull_request ] + +######################################################################################################################## + +jobs: + call-moodle-ci-workflow: + uses: Opencast-Moodle/moodle-workflows-opencast/.github/workflows/moodle-ci.yml@main \ No newline at end of file