-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (53 loc) · 1.97 KB
/
Copy pathci.yml
File metadata and controls
63 lines (53 loc) · 1.97 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
name: CI
# Matrix: maintained PHP x maintained Symfony (floor 6.4.*).
# Regenerated 2026-06-14 — refresh: split-mirror-docs/scripts/fetch-ci-matrix.sh --gha-json --package-php='>=8.2'
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
qa:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- { php: '8.2', symfony: '6.4' }
- { php: '8.3', symfony: '6.4' }
- { php: '8.4', symfony: '6.4' }
- { php: '8.5', symfony: '6.4' }
- { php: '8.2', symfony: '7.4' }
- { php: '8.3', symfony: '7.4' }
- { php: '8.4', symfony: '7.4' }
- { php: '8.5', symfony: '7.4' }
- { php: '8.4', symfony: '8.0' }
- { php: '8.5', symfony: '8.0' }
- { php: '8.4', symfony: '8.1' }
- { php: '8.5', symfony: '8.1' }
name: PHPUnit + PHPStan (PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}.*)
steps:
- uses: actions/checkout@v5
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, xml, ctype, iconv, intl, curl
coverage: none
tools: composer:v2
- name: Pin Symfony ${{ matrix.symfony }}
run: |
composer require --no-update \
symfony/config:^${{ matrix.symfony }} \
symfony/dependency-injection:^${{ matrix.symfony }} \
symfony/framework-bundle:^${{ matrix.symfony }} \
symfony/http-foundation:^${{ matrix.symfony }} \
symfony/http-kernel:^${{ matrix.symfony }} \
symfony/twig-bundle:^${{ matrix.symfony }} \
symfony/yaml:^${{ matrix.symfony }}
- name: Install dependencies
run: composer update --prefer-dist --no-interaction --no-progress
- name: PHPUnit
run: vendor/bin/phpunit --colors=always
- name: PHPStan
run: vendor/bin/phpstan analyse --memory-limit=512M