-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (36 loc) · 1.43 KB
/
phpunit.yaml
File metadata and controls
50 lines (36 loc) · 1.43 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
name: PHPUnit
on:
push:
branches:
- main
pull_request:
schedule:
- cron: '20 16 * * SUN'
jobs:
phpunit:
name: DD ${{ matrix.dd }} SF ${{ matrix.sf }} PHP ${{ matrix.php }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.is_next }}
strategy:
matrix:
include:
- { dd: '6.4.*', sf: '5.4.*', php: '8.1', is_next: false }
- { dd: '6.4.*', sf: '6.4.*', php: '8.2', is_next: false }
- { dd: '6.4.*', sf: '7.0.*', php: '8.3', is_next: false }
- { dd: '6.4.*', sf: '7.1.*', php: '8.3', is_next: false }
- { dd: '6.4.*', sf: '7.2.*', php: '8.3', is_next: false }
- { dd: '6.4.*', sf: '8.0.*', php: '8.4', is_next: false }
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Require specific dependencies versions
run: composer require -w matomo/device-detector:${{ matrix.dd }} symfony/framework-bundle:${{ matrix.sf }}
- name: Install Composer dependencies
uses: ramsey/composer-install@v2
- name: Run PHPUnit
run: vendor/bin/phpunit