use AsCommand attribute #19
Workflow file for this run
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
#.github/workflows/php.yml | |
name: QueryBuilderRepositoryGeneratorBundle test | |
on: | |
push: ~ | |
pull_request: ~ | |
jobs: | |
build: | |
runs-on: ${{ matrix.operating-system }} | |
name: PHP ${{ matrix.php }} and Symfony ${{ matrix.symfony }} | |
strategy: | |
matrix: | |
operating-system: [ ubuntu-latest ] | |
php: [ '8.1' ] | |
symfony: ['5.4.*', '6.0.*', '6.1.*', '6.2.*', '6.3.*'] | |
steps: | |
- uses: actions/checkout@main | |
- name: Setup PHP ${{ matrix.php }} | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
tools: flex | |
- name: Download dependencies | |
env: | |
SYMFONY_REQUIRE: ${{ matrix.symfony }} | |
uses: ramsey/composer-install@v1 | |
- name: Run test suite on PHP ${{ matrix.php }} and Symfony ${{ matrix.symfony }} | |
run: ./vendor/bin/phpunit |