-
Notifications
You must be signed in to change notification settings - Fork 22
53 lines (50 loc) · 1.26 KB
/
phpunit.yml
File metadata and controls
53 lines (50 loc) · 1.26 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
name: PHPUnit
on:
pull_request:
branches:
- develop
paths:
- '**.php'
- 'composer.*'
- 'phpunit*'
- '.github/workflows/phpunit.yml'
push:
branches:
- develop
paths:
- '**.php'
- 'composer.*'
- 'phpunit*'
- '.github/workflows/phpunit.yml'
jobs:
phpunit:
strategy:
matrix:
php-version: ['8.2', '8.3', '8.4', '8.5']
db-platform: ['MySQLi', 'SQLite3']
mysql-version: ['8.0']
dependencies: ['highest']
include:
# MySQL 5.7
- php-version: '8.2'
db-platform: MySQLi
mysql-version: '5.7'
# Postgre
- php-version: '8.2'
db-platform: Postgre
mysql-version: '8.0'
# SQLSRV
- php-version: '8.2'
db-platform: SQLSRV
mysql-version: '8.0'
# OCI8
- php-version: '8.2'
db-platform: OCI8
mysql-version: '8.0'
uses: codeigniter4/.github/.github/workflows/phpunit.yml@CI47
with:
php-version: ${{ matrix.php-version }}
db-platform: ${{ matrix.db-platform }}
mysql-version: ${{ matrix.mysql-version }}
dependencies: ${{ matrix.dependencies }}
coveralls-php: '8.2'