forked from BedrockStreaming/StatsdBundle
-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (45 loc) · 1.23 KB
/
tests.yml
File metadata and controls
50 lines (45 loc) · 1.23 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: Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- 8.0
- 8.1
- 8.2
- 8.3
- 8.4
- 8.5
symfony-version:
- 6.4.*
- 7.0.*
- 7.4.*
include:
- php-version: 8.2
symfony-version: 8.0.*
- php-version: 8.3
symfony-version: 8.0.*
- php-version: 8.4
symfony-version: 8.0.*
- php-version: 8.5
symfony-version: 8.0.*
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- name: Install symfony version from matrix
env:
SYMFONY_VERSION: ${{ matrix.symfony-version }}
run: composer require symfony/symfony:$SYMFONY_VERSION --no-update
- name: Install dependencies
run: composer update --prefer-dist --no-interaction
- name: Code style check
run: bin/php-cs-fixer fix --dry-run --using-cache=no --verbose
- name: Static analysis
run: bin/phpstan analyse
- name: Unit tests
run: bin/atoum