forked from mcfedr/queue-manager-bundle
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (32 loc) · 933 Bytes
/
tests.yaml
File metadata and controls
34 lines (32 loc) · 933 Bytes
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
name: Tests
on:
push:
jobs:
tests:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
version:
- php: '8.0'
symfony: '5.4'
- php: '8.0'
symfony: '6.0'
name: PHP ${{ matrix.version.php }} Symfony ${{ matrix.version.symfony }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.version.php }}
tools: phpunit-bridge, flex
extensions: pdo_sqlite, redis
coverage: none
- run: |
composer config extra.symfony.require ${{ matrix.version.symfony }}
composer update
- run: vendor/bin/php-cs-fixer fix --dry-run --diff
- run: tests/console cache:clear
- run: vendor/bin/phpstan analyse -c phpstan.neon
- run: vendor/bin/phpunit
env:
SYMFONY_DEPRECATIONS_HELPER: 'disabled=1'