-
Notifications
You must be signed in to change notification settings - Fork 11
79 lines (69 loc) · 2.21 KB
/
tests.yaml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: tests
on:
push:
pull_request:
schedule:
- cron: '30 3 * * *'
jobs:
tests:
name: All tests
runs-on: ubuntu-latest
strategy:
matrix:
include:
# TYPO3 10: PHP 7.2 - 7.4
- TYPO3: '10'
php: '7.2'
- TYPO3: '10'
php: '7.3'
- TYPO3: '10'
php: '7.4'
# TYPO3 11: PHP 7.4 - 8.3
- TYPO3: '11'
php: '7.4'
- TYPO3: '11'
php: '8.0'
- TYPO3: '11'
php: '8.1'
- TYPO3: '11'
php: '8.2'
- TYPO3: '11'
php: '8.3'
# TYPO3 12: PHP 8.1 - 8.3
- TYPO3: '12'
php: '8.1'
- TYPO3: '12'
php: '8.2'
- TYPO3: '12'
php: '8.3'
# TYPO3 13: PHP 8.2 - 8.3
- TYPO3: '13'
php: '8.2'
- TYPO3: '13'
php: '8.3'
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install testing system
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s composerInstall
- 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 lint
- name: CGL
run: Build/Scripts/runTests.sh -n -p ${{ matrix.php }} -s cgl
- name: phpstan
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s phpstan
- 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 }} -t ${{ matrix.TYPO3 }} -d mariadb -s functional
#
# - name: Functional Tests with postgres
# run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -d postgres -s functional
#
# - name: Functional Tests with sqlite
# run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -d sqlite -s functional
#
# - name: Acceptance Tests
# run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s acceptance