forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (43 loc) · 1.26 KB
/
install-check-trunk-8.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
48
49
name: install-check-trunk-8.3
on:
schedule:
- cron: "0 12 * * *"
workflow_dispatch:
jobs:
installation:
runs-on: ubuntu-latest
outputs:
all: ${{ steps.changes.outputs.all }}
strategy:
fail-fast: false
matrix:
php: [8.3]
env:
DB_DATABASE: ilias
DB_USER: root
DB_PASSWORD: root
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: trunk
- name: Copy config file to location outside webroot
run: |
cp scripts/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 Composer dependencies
run: composer install --no-interaction --no-progress --no-dev
- name: Install Node dependencies
run: npm clean-install --omit-dev --ignore-scripts
- name: Perform setup
run: |
php cli/setup.php install -y ../ilias-ci-config.json