Skip to content

Commit

Permalink
MBS-9820: Readd unit tests to GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
PhMemmel committed Jan 3, 2025
1 parent d9c20b0 commit 218b773
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 218b773

Please sign in to comment.