-
Notifications
You must be signed in to change notification settings - Fork 2
55 lines (43 loc) · 2.01 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
name: tests core 12
on:
push:
pull_request:
schedule:
- cron: '56 4 * * *'
jobs:
testsuite:
name: all tests with core 12
runs-on: ubuntu-20.04
strategy:
# This prevents cancellation of matrix job runs, if one/two already failed and let the
# rest matrix jobs be be executed anyway.
fail-fast: false
matrix:
php: [ '8.1', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install testing system
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -s composerUpdate
- name: Lint PHP
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -s lint
- name: CGL
if: ${{ matrix.php <= '8.1' }}
run: Build/Scripts/runTests.sh -n -p ${{ matrix.php }} -t 12 -s cgl
- name: Unit Tests
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -s unit
- name: Functional Tests with mariadb and mysqli
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -d mariadb -a mysqli -s functional
- name: Functional Tests with mariadb and pdo_mysql
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -d mariadb -a pdo_mysql -s functional
- name: Functional Tests with mysql and mysqli
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -d mysql -a mysqli -s functional
- name: Functional Tests with mysql and pdo_mysql
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -d mysql -a pdo_mysql -s functional
- name: Functional Tests with postgres
# v11 postgres functional disabled with PHP 8.2 since https://github.com/doctrine/dbal/commit/73eec6d882b99e1e2d2d937accca89c1bd91b2d7
# is not fixed in doctrine core v11 doctrine 2.13.9
if: ${{ matrix.php <= '8.1' }}
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -d postgres -s functional
- name: Functional Tests with sqlite
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -d sqlite -s functional