forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (41 loc) · 1.16 KB
/
install-check-release_8-7.4.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
name: install-check-release_8-7.4
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.4]
env:
DB_DATABASE: ilias
DB_USER: root
DB_PASSWORD: root
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: release_8
- 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
run: |
sudo /etc/init.d/mysql start
- 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