Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
sudo cp -f tests/travis/gh-apache /etc/apache2/sites-available/000-default.conf
sudo chmod 777 -R $HOME
cat /etc/apache2/sites-available/000-default.conf
sudo service apache2 restart
sudo systemctl restart apache2

- name: Setup PHP, with composer and extensions
Expand Down Expand Up @@ -171,11 +170,6 @@ jobs:
php -v
php -m

# - name: Check chamilo
# run: |
# sudo chmod 777 -R ${{ github.workspace }}
# curl http://localhost/main/install/index.php

- name: Install chash
run: |
git clone https://github.com/chamilo/chash
Expand All @@ -189,12 +183,12 @@ jobs:
- name: Install chamilo
run: |
php7.4 ${{ github.workspace }}/chash/chash.php chash:chamilo_install 1.11.x ${{ github.workspace }} --no-interaction --sitename="Chamilo" --site_url="http://localhost/" --institution="Chamilo" --institution_url="https://chamilo.org" --encrypt_method="sha1" --firstname="John" --lastname="Doe" --language="english" --driver="pdo_mysql" --host="localhost" --port="3306" --dbname="chamilo" --dbuser="root" --dbpassword="root" --permissions_for_new_directories="0777" --permissions_for_new_files="0666" --linux-user="www-data" --linux-group="www-data" --username="admin" --password="admin" --email="[email protected]" --phone="555-5555"
sudo chmod -R 777 app/cache app/logs app/courses app/upload web
php7.4 ${{ github.workspace }}/chash/chash.php chash:chamilo_status
ls -la
sudo chmod -R 777 app/cache app/logs app/courses app/upload web
bash tests/travis/post_installation.sh
sudo cp -f tests/travis/gh-apache /etc/apache2/sites-available/000-default.conf
sudo systemctl restart apache2
curl http://localhost/index.php
ls -la web/build

- name: Behat tests
run: |
Expand Down
Loading