-
Notifications
You must be signed in to change notification settings - Fork 7
45 lines (33 loc) · 1.16 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
43
44
45
name: CI
on: [push, pull_request]
jobs:
testsuite:
name: all tests
runs-on: ubuntu-latest
strategy:
matrix:
env:
- { PHP: '7.4', TYPO3_VERSION: ^10.4 }
- { PHP: '7.3', TYPO3_VERSION: ^10.4 }
- { PHP: '7.2', TYPO3_VERSION: ^10.4 }
- { PHP: '8.1', TYPO3_VERSION: ^11.5 }
- { PHP: '8.0', TYPO3_VERSION: ^11.5 }
- { PHP: '7.4', TYPO3_VERSION: ^11.5 }
env: ${{ matrix.env }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install
run: ./Build/Scripts/runTests.sh composer require typo3/cms-core="${TYPO3_VERSION}" --no-suggest
- name: Lint PHP
run: ./Build/Scripts/runTests.sh composer ci:php:lint
- name: PHP Coding Standards Fixer
run: ./Build/Scripts/runTests.sh composer ci:php:cs
- name: PHPStan
run: ./Build/Scripts/runTests.sh composer ci:php:stan
# - name: PHP Mess Detector
# run: ./Build/Scripts/runTests.sh composer ci:php:md
- name: Unit tests
run: ./Build/Scripts/runTests.sh unit
- name: Functional tests
run: ./Build/Scripts/runTests.sh functional