-
Notifications
You must be signed in to change notification settings - Fork 41
42 lines (37 loc) · 964 Bytes
/
tests.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
name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
max-parallel: 10
matrix:
php: [ '8.1', '8.2', '8.3']
sf_version: [ '5.4', '6.4', '7.1' ]
exclude:
- php: 8.1
sf_version: 7.1
steps:
- uses: actions/checkout@v2
- name: Validate composer-5.4.json
run: composer validate --strict
- name: Setup PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Override Symfony version
run: composer run ci-symfony-install-version ${{ matrix.sf_version }}
- uses: php-actions/phpunit@v3
with:
configuration: phpunit.xml.dist
php_version: ${{ matrix.php }}
memory_limit: 1024M
version: 9
bootstrap: vendor/autoload.php