-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (38 loc) · 1.39 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
42
43
44
45
46
47
# https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/Testing/ExtensionTesting.html
name: CI
on: [push, pull_request]
jobs:
testsuite:
name: all tests
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1' ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install testing system
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -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 -p ${{ matrix.php }} -s cgl
#
- name: phpstan
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -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 }} -d mariadb -s functional
#
# - name: Functional Tests with postgres
# run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d postgres -s functional
#
# - name: Functional Tests with sqlite
# run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d sqlite -s functional
- name: Acceptance Tests
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s acceptance