[BUGFIX] Fix type of v1 riddle keys #38
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
typo3: [^10.4, ^9.5] | |
php: ['7.4', '7.3'] | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up PHP Version ${{ matrix.php }} | |
run: | | |
sudo update-alternatives --set php /usr/bin/php${{ matrix.php }} | |
php -v | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Cache dependencies | |
uses: actions/cache@v1 | |
with: | |
path: ~/.composer/cache | |
key: dependencies-composer-${{ hashFiles('composer.json') }} | |
- name: Install dependencies with typo3/cms-core:${{ matrix.typo3 }} | |
run: | | |
composer require typo3/cms-core:${{ matrix.typo3 }} --no-progress | |
composer require typo3/cms-backend:${{ matrix.typo3 }} --no-progress | |
composer require typo3/cms-frontend:${{ matrix.typo3 }} --no-progress | |
git checkout composer.json | |
- name: php-cs-fixer | |
run: composer ci:php:fixer | |
- name: Lint PHP | |
run: composer ci:php:lint | |
- name: Unit Tests | |
run: | | |
composer ci:tests:unit | |
# - name: Functional Tests | |
# env: | |
# typo3DatabaseName: test | |
# typo3DatabaseUsername: root | |
# typo3DatabasePassword: root | |
# typo3DatabaseHost: 127.0.0.1 | |
# run: | | |
# sudo systemctl start mysql.service | |
# composer ci:tests:functional |