-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (38 loc) · 1.05 KB
/
test.yml
File metadata and controls
40 lines (38 loc) · 1.05 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
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
name: Test
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
include:
- operating-system: ubuntu-latest
php: 7.3
phpunit: 8
- operating-system: ubuntu-latest
php: 8.1
phpunit: 9
- operating-system: ubuntu-latest
php: 8.3
phpunit: 9
- operating-system: ubuntu-latest
php: 8.5
phpunit: 9
## We used to test here, but we were forced to switch to newer actions.
## But these actions don't seem to run on Windows...
#- operating-system: windows-2019
# php: '7.3'
# phpunit: 8
name: PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
- uses: php-actions/phpunit@v3
with:
configuration: phpunit.xml.dist
version: ${{ matrix.phpunit }}
php_version: ${{ matrix.php }}