This repository was archived by the owner on May 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (45 loc) · 1.3 KB
/
ci.yml
File metadata and controls
62 lines (45 loc) · 1.3 KB
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
50
51
52
53
54
55
56
57
58
59
name: CI
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
typo3: [ '^11.0', 'dev-main' ]
php: [ '8.0' ]
mysql: ['5.7']
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up PHP version ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2, php-cs-fixer
- name: Environment Check
run: |
php --version
composer --version
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies with typo3/cms-core:${{ matrix.typo3 }}
run: |
composer require typo3/cms-core:${{ matrix.typo3 }} --no-progress
git checkout composer.json
- name: Info
run: composer info
- name: Lint
run: |
composer run ci:lint:php
composer run ci:lint:yaml
- name: CGL
run: composer run ci:cgl:check
#
# - name: Psalm
# run: composer run ci:psalm
- name: PHPStan
run: composer run ci:stan
# - name: Unit Tests with coverage
# if: matrix.typo3 == '^11.0'
# run: composer run ci:tests:unit:cover