-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (29 loc) · 984 Bytes
/
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
name: tests
on:
push:
pull_request:
schedule:
- cron: '30 3 * * *'
jobs:
tests:
name: All tests
runs-on: ubuntu-20.04
strategy:
matrix:
php: [ '8.1', '8.2']
TYPO3: [ '11', '12']
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install testing system
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s composerUpdate
- 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: Acceptance Tests
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s acceptance