From 218b7733b878c594bc090cbbdfbad37540106afc Mon Sep 17 00:00:00 2001 From: Philipp Memmel Date: Fri, 3 Jan 2025 13:38:23 +0100 Subject: [PATCH] MBS-9820: Readd unit tests to GHA --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50c3f29..7ac674b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,9 @@ jobs: echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV - name: Install moodle-plugin-ci - run: moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1 + run: | + moodle-plugin-ci add-plugin 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 }} @@ -95,10 +97,9 @@ jobs: if: ${{ !cancelled() }} run: moodle-plugin-ci grunt --max-lint-warnings 0 - # Unittest need local_ai_manager to run successfully. - # - name: PHPUnit tests - # if: ${{ !cancelled() }} - # run: moodle-plugin-ci phpunit --fail-on-warning + - name: PHPUnit tests + if: ${{ !cancelled() }} + run: moodle-plugin-ci phpunit --fail-on-warning - name: Behat features id: behat