diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index 03b856e..9ba7edb 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -55,7 +55,7 @@ jobs: steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: plugin @@ -69,7 +69,7 @@ jobs: - name: Initialise moodle-plugin-ci run: | - composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3 + composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4 echo $(cd ci/bin; pwd) >> $GITHUB_PATH echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH sudo locale-gen en_AU.UTF-8 @@ -78,7 +78,7 @@ jobs: - name: Install moodle-plugin-ci run: | moodle-plugin-ci add-plugin ProjektAdLer/MoodlePluginLocalLogging - moodle-plugin-ci install --no-init --plugin ./plugin --db-host=127.0.0.1 + moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1 env: DB: ${{ matrix.database }} MOODLE_BRANCH: ${{ matrix.moodle-branch }} @@ -129,14 +129,6 @@ jobs: cd moodle/local/adler 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 - if: ${{ always() }} - run: | - cd moodle - php admin/tool/phpunit/cli/init.php - - name: PHPUnit tests if: ${{ always() }} run: | @@ -159,7 +151,7 @@ jobs: unset GITHUB_ACTIONS php ../../vendor/bin/php-coveralls --coverage_clover=coverage.xml -v --json_path coveralls_upload.json --exclude-no-stmt -# There are no behat tests (yet) +# There are no behat tests # - name: Behat features # if: ${{ always() }} # run: moodle-plugin-ci behat --profile chrome