[CHA-0] Fix QueryReminders to properly encode empty filter as JSON object #285
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: build | |
| on: [pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: 🧪 Test & lint | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 1 | |
| matrix: | |
| php-versions: ['8.1', '8.2', '8.3', '8.4'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 # gives the commit message linter access to all previous commits | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| extensions: ast, mbstring, intl | |
| ini-values: post_max_size=256M, max_execution_time=180 | |
| tools: composer | |
| - name: Install dependencies | |
| run: composer install | |
| - name: Format | |
| if: ${{ matrix.php-versions == '8.1' }} | |
| run: vendor/bin/php-cs-fixer fix -v --dry-run --stop-on-violation | |
| - name: Quality | |
| if: ${{ matrix.php-versions == '8.1' }} | |
| run: vendor/bin/phan --no-progress-bar | |
| - name: Test | |
| env: | |
| STREAM_KEY: ${{ secrets.STREAM_API_KEY }} | |
| STREAM_SECRET: ${{ secrets.STREAM_API_SECRET }} | |
| run: vendor/bin/phpunit --coverage-text |