Update workflow

pull/3768/head
Julio Montoya 5 years ago
parent 4faebb106c
commit 684a17fcf0
  1. 11
      .github/workflows/php.yml
  2. 2
      tests/behat/features/actionInstall.feature

@ -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 ..

@ -1,7 +1,7 @@
@administration
Feature: Install portal
Scenario: See the company reports link on the admin page
Scenario: Installation process
Given I am on "/main/install/index.php"
Then I should see "Step1 Installation Language"
Then I press "Next"

Loading…
Cancel
Save