MOBILE-4616: Update testing repository urls
parent
ec8a1058dd
commit
c57c69c479
|
@ -153,16 +153,14 @@ jobs:
|
||||||
|
|
||||||
- name: Initialise moodle-plugin-ci
|
- name: Initialise moodle-plugin-ci
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/NoelDeMartin/moodle-plugin-ci --branch selenium-env ci
|
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4.4
|
||||||
composer install -d ./ci
|
|
||||||
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
|
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
|
||||||
sed -i "58i\$CFG->behat_profiles['chrome']['capabilities'] = ['extra_capabilities' => ['chromeOptions' => ['args' => ['--ignore-certificate-errors', '--allow-running-insecure-content']]]];" ci/res/template/config.php.txt
|
|
||||||
|
|
||||||
- name: Install Behat Snapshots plugin
|
- name: Install Behat Snapshots plugin
|
||||||
run: moodle-plugin-ci add-plugin NoelDeMartin/moodle-local_behatsnapshots
|
run: moodle-plugin-ci add-plugin moodlemobile/moodle-local_behatsnapshots
|
||||||
|
|
||||||
- name: Install moodle-plugin-ci
|
- name: Install moodle-plugin-ci
|
||||||
run: moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1
|
run: moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1
|
||||||
|
@ -172,6 +170,7 @@ jobs:
|
||||||
MOODLE_REPO: ${{ github.event.inputs.moodle_repository || 'https://github.com/moodle/moodle.git' }}
|
MOODLE_REPO: ${{ github.event.inputs.moodle_repository || 'https://github.com/moodle/moodle.git' }}
|
||||||
MOODLE_BEHAT_IONIC_WWWROOT: https://localhost:8001
|
MOODLE_BEHAT_IONIC_WWWROOT: https://localhost:8001
|
||||||
MOODLE_BEHAT_DEFAULT_BROWSER: chrome
|
MOODLE_BEHAT_DEFAULT_BROWSER: chrome
|
||||||
|
MOODLE_BEHAT_CHROME_CAPABILITIES: "['extra_capabilities' => ['chromeOptions' => ['args' => ['--ignore-certificate-errors', '--allow-running-insecure-content']]]]"
|
||||||
|
|
||||||
- name: Update config
|
- name: Update config
|
||||||
run: moodle-plugin-ci add-config 'define("TEST_MOD_BIGBLUEBUTTONBN_MOCK_SERVER", "http://localhost:8002/hash" . sha1($CFG->wwwroot));'
|
run: moodle-plugin-ci add-config 'define("TEST_MOD_BIGBLUEBUTTONBN_MOCK_SERVER", "http://localhost:8002/hash" . sha1($CFG->wwwroot));'
|
||||||
|
|
|
@ -189,16 +189,14 @@ jobs:
|
||||||
|
|
||||||
- name: Initialise moodle-plugin-ci
|
- name: Initialise moodle-plugin-ci
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/NoelDeMartin/moodle-plugin-ci --branch selenium-env ci
|
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4.4
|
||||||
composer install -d ./ci
|
|
||||||
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
|
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
|
||||||
sed -i "58i\$CFG->behat_profiles['chrome']['capabilities'] = ['extra_capabilities' => ['chromeOptions' => ['args' => ['--ignore-certificate-errors', '--allow-running-insecure-content']]]];" ci/res/template/config.php.txt
|
|
||||||
|
|
||||||
- name: Install Behat Snapshots plugin
|
- name: Install Behat Snapshots plugin
|
||||||
run: moodle-plugin-ci add-plugin NoelDeMartin/moodle-local_behatsnapshots
|
run: moodle-plugin-ci add-plugin moodlemobile/moodle-local_behatsnapshots
|
||||||
|
|
||||||
- name: Install moodle-plugin-ci
|
- name: Install moodle-plugin-ci
|
||||||
run: moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1
|
run: moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1
|
||||||
|
@ -208,6 +206,7 @@ jobs:
|
||||||
MOODLE_REPO: ${{ github.event.inputs.moodle_repository || 'https://github.com/moodle/moodle.git' }}
|
MOODLE_REPO: ${{ github.event.inputs.moodle_repository || 'https://github.com/moodle/moodle.git' }}
|
||||||
MOODLE_BEHAT_IONIC_WWWROOT: https://localhost:8001
|
MOODLE_BEHAT_IONIC_WWWROOT: https://localhost:8001
|
||||||
MOODLE_BEHAT_DEFAULT_BROWSER: chrome
|
MOODLE_BEHAT_DEFAULT_BROWSER: chrome
|
||||||
|
MOODLE_BEHAT_CHROME_CAPABILITIES: "['extra_capabilities' => ['chromeOptions' => ['args' => ['--ignore-certificate-errors', '--allow-running-insecure-content']]]]"
|
||||||
|
|
||||||
- name: Update config
|
- name: Update config
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue