|
|
|
@ -47,9 +47,6 @@ jobs: |
|
|
|
|
extensions: mbstring, xml, ctype, iconv, intl, pdo, pdo_mysql, dom, gd, json, soap, intl, zip, bcmath |
|
|
|
|
ini-values: post_max_size=256M, max_execution_time=600, date.timezone=Europe/Paris, memory_limit=4096M |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Get composer cache directory |
|
|
|
|
id: composer-cache |
|
|
|
|
run: echo "::set-output name=dir::$(composer config cache-files-dir)" |
|
|
|
@ -135,7 +132,7 @@ jobs: |
|
|
|
|
java -version |
|
|
|
|
export DISPLAY=:99.0 |
|
|
|
|
sudo xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & |
|
|
|
|
java -jar selenium-server-standalone-3.141.59.jar -Dwebdriver.chrome.bin="/usr/bin/google-chrome-stable" -Dwebdriver.chrome.driver="/usr/bin/chromedriver" > /dev/null & |
|
|
|
|
java -jar selenium-server-standalone-3.141.59.jar -Dwebdriver.chrome.driver="/usr/bin/chromedriver" > /dev/null & |
|
|
|
|
|
|
|
|
|
- name: Start mysql service |
|
|
|
|
run: sudo /etc/init.d/mysql start |
|
|
|
@ -152,12 +149,12 @@ jobs: |
|
|
|
|
DATABASE_PASSWORD: root |
|
|
|
|
APP_INSTALLED: 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install chamilo |
|
|
|
|
run: | |
|
|
|
|
php -v |
|
|
|
|
php -m |
|
|
|
|
sudo chmod 777 -R ${{ github.workspace }} |
|
|
|
|
curl http://localhost/check.php |
|
|
|
|
curl http://localhost/main/install/index.php |
|
|
|
|
cd tests/behat |
|
|
|
|
../../vendor/behat/behat/bin/behat features/actionInstall.feature -vvv |
|
|
|
|
cd .. |
|
|
|
|