From f1dd81c81c21fd9069b488523a92ca54779f95f9 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 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index f82fde5..9cb7f36 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -59,10 +59,16 @@ jobs: echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH # PHPUnit depends on en_AU.UTF-8 locale sudo locale-gen en_AU.UTF-8 + 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. - run: moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1 + 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 }}