-
Notifications
You must be signed in to change notification settings - Fork 41
80 lines (60 loc) · 2.88 KB
/
testcore12.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
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
80
name: tests core 12
on:
pull_request:
workflow_dispatch:
jobs:
code-quality:
name: "code quality with core v12"
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
php-version: [ '8.1']
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Prepare dependencies for TYPO3 v12"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s composerUpdate"
- name: "Run TypoScript lint"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s lintTypoScript"
- name: "Run PHP lint"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s lintPhp"
- name: "Validate CGL"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s cgl"
- name: "Ensure tests methods do not start with \"test\""
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s checkTestMethodsPrefix"
- name: "Ensure UTF-8 files do not contain BOM"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s checkBom"
- name: "Test .rst files for integrity"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s checkRst"
- name: "Find duplicate exception codes"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s checkExceptionCodes"
- name: "Run PHPStan"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s phpstan"
testsuite:
name: all tests with core v12
runs-on: ubuntu-22.04
needs: code-quality
strategy:
fail-fast: false
matrix:
php-version: [ '8.1', '8.2' ]
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Prepare dependencies for TYPO3 v12"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s composerUpdate"
- name: "Unit"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s unit"
- name: "Functional SQLite"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s functional -d sqlite"
- name: "Functional MariaDB 10.5 mysqli"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s functional -d mariadb -a mysqli"
- name: "Functional MariaDB 10.5 pdo_mysql"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s functional -d mariadb -a pdo_mysql"
- name: "Functional MySQL 8.0 mysqli"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s functional -d mariadb -a mysqli"
- name: "Functional MySQL 8.0 pdo_mysql"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s functional -d mariadb -a pdo_mysql"
- name: "Functional PostgresSQL 10"
run: "Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php-version }} -s functional -d postgres"