File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 44
44
sudo cp -f tests/travis/gh-apache /etc/apache2/sites-available/000-default.conf
45
45
sudo chmod 777 -R $HOME
46
46
cat /etc/apache2/sites-available/000-default.conf
47
- sudo service apache2 restart
48
47
sudo systemctl restart apache2
49
48
50
49
- name : Setup PHP, with composer and extensions
@@ -171,11 +170,6 @@ jobs:
171
170
php -v
172
171
php -m
173
172
174
- # - name: Check chamilo
175
- # run: |
176
- # sudo chmod 777 -R ${{ github.workspace }}
177
- # curl http://localhost/main/install/index.php
178
-
179
173
- name : Install chash
180
174
run : |
181
175
git clone https://github.com/chamilo/chash
@@ -189,12 +183,12 @@ jobs:
189
183
- name : Install chamilo
190
184
run : |
191
185
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"
192
- sudo chmod -R 777 app/cache app/logs app/courses app/upload web
193
186
php7.4 ${{ github.workspace }}/chash/chash.php chash:chamilo_status
194
- ls -la
187
+ sudo chmod -R 777 app/cache app/logs app/courses app/upload web
195
188
bash tests/travis/post_installation.sh
189
+ sudo cp -f tests/travis/gh-apache /etc/apache2/sites-available/000-default.conf
190
+ sudo systemctl restart apache2
196
191
curl http://localhost/index.php
197
- ls -la web/build
198
192
199
193
- name : Behat tests
200
194
run : |
You can’t perform that action at this time.
0 commit comments