-
-
Notifications
You must be signed in to change notification settings - Fork 8
70 lines (64 loc) · 1.62 KB
/
tests.yaml
File metadata and controls
70 lines (64 loc) · 1.62 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: Continuous Integration
on:
pull_request: null
push:
branches:
- master
permissions:
contents: read
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
env:
SYMFONY_REQUIRE: ${{ matrix.symfony-version }}
strategy:
fail-fast: false
matrix:
php:
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.2'
- '8.3'
symfony-version:
- 4.4.*
- 5.*
- 6.*
dependencies:
- highest
- lowest
exclude:
- php: '7.2'
symfony-version: 6.*
dependencies: highest
- php: '7.3'
symfony-version: 6.*
dependencies: highest
- php: '7.4'
symfony-version: 6.*
dependencies: highest
- php: '7.2'
symfony-version: 6.*
dependencies: lowest
- php: '7.3'
symfony-version: 6.*
dependencies: lowest
- php: '7.4'
symfony-version: 6.*
dependencies: lowest
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup PHP
uses: shivammathur/setup-php@728c6c6b8cf02c2e48117716a91ee48313958a19 # v2
with:
php-version: ${{ matrix.php }}
tools: flex
- name: Install dependencies
uses: ramsey/composer-install@1919f6c305aea6ab10e6181a8ddf72317ad77e0e # v2
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: --prefer-dist