forked from Yoast/Yoast-SEO-for-TYPO3
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.33 KB
/
ci.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
name: CI
on: [push, pull_request]
jobs:
build-php:
name: Build PHP
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.experimental }}
strategy:
max-parallel: 6
fail-fast: false
matrix:
typo3: ['10', '11']
php: ['php7.4']
experimental: [false]
include:
- typo3: '11'
php: 'php8.1'
experimental: false
- typo3: '12'
php: 'php8.1'
experimental: false
steps:
- uses: actions/checkout@v1
- name: Set up PHP Version
run: |
sudo update-alternatives --set php /usr/bin/${{ matrix.php }}
php -v
- name: Update Composer
run: |
sudo composer self-update
composer --version
- name: Install
run: |
composer require typo3/cms-core:^${{ matrix.typo3 }} typo3/cms-backend:^${{ matrix.typo3 }} typo3/cms-extbase:^${{ matrix.typo3 }} typo3/cms-fluid:^${{ matrix.typo3 }} typo3/cms-frontend:^${{ matrix.typo3 }} typo3/cms-install:^${{ matrix.typo3 }} typo3/cms-dashboard:^${{ matrix.typo3 }} --no-progress
- name: Lint
run: composer test:php:lint
- name: CGL
run: composer cgl
- name: PHPStan
run: php -d memory_limit=-1 vendor/bin/phpstan analyse -c .Build/phpstan.cms${{ matrix.typo3 }}.neon