default services conflit ?
This commit is contained in:
47
old.vendor/ajgl/breakpoint-twig-extension/.github/workflows/tests.yaml
vendored
Normal file
47
old.vendor/ajgl/breakpoint-twig-extension/.github/workflows/tests.yaml
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
name: tests
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: ${{ matrix.allow_failure }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
|
||||
stability: ['prefer-lowest', 'prefer-stable']
|
||||
allow_failure: [false]
|
||||
include:
|
||||
- php: '8.0'
|
||||
stability: 'dev'
|
||||
allow_failure: true
|
||||
|
||||
name: ${{ matrix.php }}-${{ matrix.stability }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.composer/cache/files
|
||||
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php }}
|
||||
coverage: none
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
|
||||
|
||||
- name: Check coding standard
|
||||
run: composer lint
|
||||
|
||||
- name: Execute tests
|
||||
run: composer test || ${{ matrix.allow_failure }}
|
Reference in New Issue
Block a user