From a5bcb93f9dec1261bf1565ff1d498e4ef0871723 Mon Sep 17 00:00:00 2001 From: Marcus Green Date: Sat, 2 Nov 2024 18:41:54 +0000 Subject: [PATCH] Pull in local_ai_manager from the repo so the unit tests will not fall over --- .github/workflows/moodle-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index f82fde5..94c0b26 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -59,6 +59,13 @@ jobs: echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH # PHPUnit depends on en_AU.UTF-8 locale sudo locale-gen en_AU.UTF-8 + - name: Install moodle-plugin-ci + run: | + moodle-plugin-ci add-plugin --branch main_mebis-lp/mebis-lp/moodle-local_ai_manager + moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1 + env: + DB: ${{ matrix.database }} + MOODLE_BRANCH: ${{ matrix.moodle-branch }} - name: Install Moodle # Need explicit IP to stop mysql client fail on attempt to use unix socket.