chore: adjusts workflow

This commit is contained in:
Nuno Maduro
2023-12-04 10:54:11 +00:00
parent ff04d54247
commit dc862f60b2

View File

@ -17,12 +17,12 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
symfony: ['6.0', '7.0']
php: ['8.1', '8.2', '8.3']
dependency-version: [prefer-lowest, prefer-stable]
dependency_version: [prefer-lowest, prefer-stable]
exclude:
- php: 8.1
symfony: 7.0
name: PHP ${{ matrix.php }} - Symfony ${{ matrix.symfony }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
name: PHP ${{ matrix.php }} - Symfony ${{ matrix.symfony }} - ${{ matrix.os }} - ${{ matrix.dependency_version }}
steps:
- name: Checkout
@ -41,7 +41,7 @@ jobs:
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Install PHP dependencies
run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi --with="symfony/console:${{ matrix.symfony }}"
run: composer update --${{ matrix.dependency_version }} --no-interaction --no-progress --ansi --with="symfony/console:${{ matrix.symfony }}"
- name: Unit Tests
run: composer test:unit