forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (42 loc) · 1.31 KB
/
install-check-release_7-7.3.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: install-check-release_7-7.3
on:
schedule:
- cron: "0 12 * * *"
workflow_dispatch:
jobs:
installation:
runs-on: ubuntu-20.04
outputs:
all: ${{ steps.changes.outputs.all }}
strategy:
fail-fast: false
matrix:
php: [7.3]
env:
DB_DATABASE: ilias
DB_USER: root
DB_PASSWORD: root
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: release_7
- name: Copy config file to location outside webroot
run: |
cp CI/install-check/ilias-ci-config.json ../ilias-ci-config.json
- name: Start MySQL Service and switch to legacy authentication for PHP7.3
run: |
sudo /etc/init.d/mysql start
mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';" -uroot -proot
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, gd, json, readline, xsl, xml, mysql
tools: composer:v2
coverage: none
- name: Install dependencies
run: composer install --no-interaction --no-progress --no-dev
- name: Perform setup
run: |
php setup/setup.php install -y ../ilias-ci-config.json