-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (35 loc) · 1.04 KB
/
symfony.yml
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
name: Symfony Build
on:
push:
pull_request:
jobs:
php:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.0']
composer-versions: ['composer:v2']
fail-fast: false
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install PHP
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-versions }}
tools: ${{ matrix.composer-versions }}
extensions: xdebug, mbstring, posix
- name: Check versions
run: |
php -v
php -m
composer --version
working-directory: symfony
- name: Install dependencies
run: composer install --optimize-autoloader --dev --classmap-authoritative
working-directory: symfony
- name: Run tests
run: php vendor/bin/grumphp run --no-interaction
working-directory: symfony