-
Notifications
You must be signed in to change notification settings - Fork 5
47 lines (33 loc) · 1.31 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
name: Tests
on: [pull_request]
jobs:
testing:
name: Testing
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php:
- '8.2'
- '8.3'
- '8.4'
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Lint PHP'
run: Build/Scripts/runTests.sh -b podman -p ${{ matrix.php }} -s lint
- name: 'Install testing system'
run: Build/Scripts/runTests.sh -b podman -p ${{ matrix.php }} -s composerUpdate
- name: 'Composer validate'
run: Build/Scripts/runTests.sh -b podman -p ${{ matrix.php }} -s composerValidate
- name: 'Composer normalize'
run: Build/Scripts/runTests.sh -b podman -p ${{ matrix.php }} -s composerNormalize -n
- name: 'CGL'
if: ${{ matrix.php <= '8.3' }}
run: Build/Scripts/runTests.sh -b podman -n -p ${{ matrix.php }} -s cgl
- name: 'Execute functional tests'
run: Build/Scripts/runTests.sh -b podman -p ${{ matrix.php }} -d mysql -i 8.0 -s functional
- name: 'Execute functional tests'
run: Build/Scripts/runTests.sh -b podman -p ${{ matrix.php }} -d mariadb -i 10.11 -s functional
- name: 'Execute functional tests'
run: Build/Scripts/runTests.sh -b podman -p ${{ matrix.php }} -d postgres -i 10 -s functional