install-check-release_8-7.4 #493
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |