-
Notifications
You must be signed in to change notification settings - Fork 89
41 lines (36 loc) · 1.24 KB
/
tests-linux.yaml
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
# OS: Linux; Symfony: latest stable; PHP: all the commonly used versions supported by this bundle
name: "Tests - Linux"
on:
pull_request:
push:
branches:
- 'master'
env:
fail-fast: true
jobs:
tests:
name: "PHP ${{ matrix.php-version }}"
runs-on: 'ubuntu-latest'
continue-on-error: false
strategy:
matrix:
php-version: ['8.1', '8.2']
steps:
- name: 'Checkout code'
uses: actions/checkout@v2.3.3
- name: 'Install PHP with extensions'
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: ${{ matrix.php-version }}
tools: composer:v2
extensions: mbstring, intl
ini-values: date.timezone=UTC
- name: 'Install project dependencies'
run: |
composer update --no-interaction --prefer-dist --optimize-autoloader --prefer-stable
vendor/bin/simple-phpunit install
- name: 'Run tests'
env:
SYMFONY_DEPRECATIONS_HELPER: 'max[indirect]=10&max[total]=27'
run: vendor/bin/simple-phpunit -v