MOBILE-4616 github: Temporary fix to make behat work in GHA
parent
d28f85a0c9
commit
dbfbe20f6e
|
@ -157,7 +157,10 @@ jobs:
|
||||||
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
|
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
|
||||||
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
|
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
|
||||||
sudo locale-gen en_AU.UTF-8
|
sudo locale-gen en_AU.UTF-8
|
||||||
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
|
|
||||||
|
# Install nvm v0.39.7 as a temporary workaround for issue:
|
||||||
|
# https://github.com/moodlehq/moodle-plugin-ci/issues/309
|
||||||
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
|
||||||
|
|
||||||
- name: Install Behat Snapshots plugin
|
- name: Install Behat Snapshots plugin
|
||||||
run: moodle-plugin-ci add-plugin moodlemobile/moodle-local_behatsnapshots
|
run: moodle-plugin-ci add-plugin moodlemobile/moodle-local_behatsnapshots
|
||||||
|
|
|
@ -193,7 +193,10 @@ jobs:
|
||||||
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
|
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
|
||||||
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
|
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
|
||||||
sudo locale-gen en_AU.UTF-8
|
sudo locale-gen en_AU.UTF-8
|
||||||
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
|
|
||||||
|
# Install nvm v0.39.7 as a temporary workaround for issue:
|
||||||
|
# https://github.com/moodlehq/moodle-plugin-ci/issues/309
|
||||||
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
|
||||||
|
|
||||||
- name: Install Behat Snapshots plugin
|
- name: Install Behat Snapshots plugin
|
||||||
run: moodle-plugin-ci add-plugin moodlemobile/moodle-local_behatsnapshots
|
run: moodle-plugin-ci add-plugin moodlemobile/moodle-local_behatsnapshots
|
||||||
|
|
Loading…
Reference in New Issue