Add support for valid NULL queries #47
Workflow file for this run
This file contains hidden or 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: run-tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ ubuntu-latest ] | |
| php: [ 8.3, 8.1, 8.0, 7.4 ] | |
| dependency-version: [ prefer-lowest, prefer-stable ] | |
| name: P${{ matrix.php }} - ${{ matrix.dependency-version }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| coverage: none | |
| - name: Install dependencies | |
| run: | | |
| composer update --prefer-dist --no-interaction --${{ matrix.dependency-version }} | |
| - name: Run static code analysis | |
| run: vendor/bin/phpstan --error-format=github | |
| - name: Execute tests | |
| run: vendor/bin/phpunit | |
| - name: Run coding standard checks | |
| run: vendor/bin/php-cs-fixer fix | |
| - name: Auto-commit php-cs-fixer changes | |
| uses: stefanzweifel/git-auto-commit-action@v4 | |
| with: | |
| commit_message: Apply coding standard fixes | |