Skip to content

Commit

Permalink
run composer i in plugin folder just before running tests as it would…
Browse files Browse the repository at this point in the history
… otherwise influence the results of the other steps (moodle-plugin-ci (mostly) does not allow excluding folders)
  • Loading branch information
Glutamat42 committed Nov 27, 2023
1 parent 8f40e0a commit d1aa76e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ jobs:
DB: ${{ matrix.database }}
MOODLE_BRANCH: ${{ matrix.moodle-branch }}

- name: Install plugin dependencies
run: |
cd moodle/local/adler
composer i
- name: PHP Lint
if: ${{ always() }}
run: moodle-plugin-ci phplint
Expand Down Expand Up @@ -116,6 +111,12 @@ jobs:
if: ${{ always() }}
run: moodle-plugin-ci grunt --max-lint-warnings 0

# running this just before the tests to make sure that the vendor directory is not included in previous steps
- name: Install plugin dependencies
run: |
cd moodle/mod/adleradaptivity
composer i
- name: Init moodle test env
# if using moodle-plugin-ci for the init phase the phpunit.xml file is replaced with a generated one including files that should not be included
# https://github.com/moodlehq/moodle-plugin-ci/issues/203
Expand Down

0 comments on commit d1aa76e

Please sign in to comment.