Have count() in RepositoryQuery support columns #303
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: CI | |
| on: | |
| push: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| coding-standard: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP with tools | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.2' | |
| extensions: gd zip soap | |
| tools: php-cs-fixer | |
| - name: Install packages | |
| run: composer install --no-progress --optimize-autoloader | |
| - name: Run PHP-CS-Fixer | |
| run: php-cs-fixer --dry-run --config=.php-cs-fixer.dist.php --verbose fix | |
| static-analysis: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP with tools | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.2' | |
| extensions: gd zip soap | |
| tools: phpstan | |
| - name: Install packages | |
| run: composer install --no-progress --optimize-autoloader | |
| - name: Static analysis with PHPStan | |
| run: phpstan analyse --no-progress | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP with tools | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.2' | |
| extensions: gd zip soap pcov | |
| tools: codeception | |
| - name: Install packages | |
| run: composer install --no-progress --optimize-autoloader | |
| - name: Run Codeception Unit tests | |
| run: vendor/bin/codecept run --coverage-xml=clover.xml tests/Unit | |
| - name: Coveralls | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| file: tests/_output/clover.xml |