forked from TYPO3-svn-archive/operations
-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (30 loc) · 1.21 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
name: CI
on: [push, pull_request]
jobs:
testsute:
name: "Testsuite"
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.2', '8.3' ]
minMax: [ 'composerInstallMin', 'composerInstallMax' ]
coreVersion: [ '12.4', '13.4' ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Composer
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s ${{ matrix.minMax }} -t ${{ matrix.coreVersion }}
# - name: Composer validate
# run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerValidate
- name: Lint PHP
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lintPhp
- name: PHP CS Fixer
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s cgl -n
- name: PHP Stan
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s phpstan -n
- name: PHP Stan Basline
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s phpstanGenerateBaseline -n
- name: Unit tests
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s unit
- name: Functional tests with mariadb
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d mariadb -s functional