Add original filename property to remote resource #143
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- '3.[0-9]+' | |
pull_request: ~ | |
jobs: | |
tests: | |
name: ${{ matrix.php }} / ${{ matrix.symfony }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: ['8.1'] | |
symfony: ['~5.4.0', '~6.2.0'] | |
deps: ['normal'] | |
include: | |
- php: '8.1' | |
symfony: '~5.4.0' | |
deps: 'low' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
coverage: none | |
- run: composer --version | |
- run: composer validate --strict | |
# Install Flex as a global dependency to enable usage of extra.symfony.require | |
# while keeping Flex recipes from applying | |
- run: composer global config --no-plugins allow-plugins.symfony/flex true | |
- run: composer global require --no-scripts symfony/flex | |
- run: composer config extra.symfony.require ${{ matrix.symfony }} | |
- run: composer update --prefer-dist | |
if: ${{ matrix.deps != 'low' }} | |
- run: composer update --prefer-dist --prefer-lowest --prefer-stable | |
if: ${{ matrix.deps == 'low' }} | |
- run: vendor/bin/phpunit -c phpunit.xml --colors=always |