-
Notifications
You must be signed in to change notification settings - Fork 89
70 lines (57 loc) · 2.43 KB
/
Copy pathci.yml
File metadata and controls
70 lines (57 loc) · 2.43 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
60
61
62
63
64
65
66
67
68
69
70
name: CI
on:
push:
pull_request:
schedule:
- cron: '56 5 * * *'
jobs:
testsuite:
name: all tests
runs-on: ubuntu-22.04
strategy:
matrix:
php: [ '8.2', '8.3', '8.4', '8.5']
TYPO3: [ '13', '14' ]
steps:
- name: Checkout
uses: actions/checkout@v6
- 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 }} -t ${{ matrix.TYPO3 }} -s composerValidate
- name: Lint PHP
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s lint
- name: CGL
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s cgl -n
- 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 }} -t ${{ matrix.TYPO3 }} -s unit
- name: Functional Tests
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s functional -- --do-not-fail-on-deprecation --exclude-group v14-only
if: matrix.TYPO3 == '13'
- name: Functional Tests 14
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s functional
if: matrix.TYPO3 == '14'
- name: Acceptance Tests Classic
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s acceptance -- --fail-fast
- name: Archive acceptance tests results
uses: actions/upload-artifact@v6
if: always()
with:
name: acceptance-test-reports-${{ matrix.php }}-${{ matrix.TYPO3 }}
path: .Build/Web/typo3temp/var/tests/_output
- name: Acceptance Tests Composer
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s acceptanceComposer -- --fail-fast
- name: Archive acceptance tests results
uses: actions/upload-artifact@v6
if: always()
with:
name: acceptance-test-composer-reports-${{ matrix.php }}-${{ matrix.TYPO3 }}
path: .Build/Web/typo3temp/var/tests_composer/_output
- name: Archive composer.lock
uses: actions/upload-artifact@v6
if: always()
with:
name: composer.lock-${{ matrix.php }}-${{ matrix.TYPO3 }}
path: composer.lock