From b65978fbdcb8c4e5759e81295f06e26d0a250361 Mon Sep 17 00:00:00 2001 From: Ruslan Kabalin Date: Sat, 10 Aug 2024 15:56:26 +0100 Subject: [PATCH] Use nvm 0.39.7 to overcome 0.40.0 regression --- .github/workflows/test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 934c05bb..0ebf633e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -120,8 +120,8 @@ jobs: echo "CI_BUILD_DIR="$(cd ../moodle-local_ci; pwd) >> $GITHUB_ENV # PHPUnit depends on en_AU.UTF-8 locale sudo locale-gen en_AU.UTF-8 - # Define NVM_DIR pointing to nvm installation. - echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV + # Install nvm v0.39.7 (temp workaround for issue #309). + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - name: Install moodle-plugin-ci run: moodle-plugin-ci install -vvv @@ -133,6 +133,7 @@ jobs: MUSTACHE_IGNORE_NAMES: 'broken.mustache' MOODLE_APP: ${{ matrix.moodle-app }} + - name: Run Integration tests env: MOODLE_BRANCH: ${{ matrix.moodle-branch }} @@ -238,8 +239,8 @@ jobs: echo "CI_BUILD_DIR="$(cd ../moodle-local_ci; pwd) >> $GITHUB_ENV # PHPUnit depends on en_AU.UTF-8 locale sudo locale-gen en_AU.UTF-8 - # Define NVM_DIR pointing to nvm installation. - echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV + # Install nvm v0.39.7 (temp workaround for issue #309). + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - name: Download PHAR artifact uses: actions/download-artifact@v4