fix maxItems and minItems constraint array to string conversion #456
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
name: PHPUnit tests | |
on: | |
- push | |
- pull_request | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
name: Tests on PHP 8.2 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
tools: composer:v2 | |
coverage: pcov | |
- name: Install dependencies | |
run: composer install --no-interaction --prefer-dist | |
- name: Code style fixer | |
run: vendor/bin/php-cs-fixer fix . --dry-run --diff | |
- name: PHPStan | |
run: vendor/bin/phpstan analyse | |
- name: Run tests | |
run: make test | |
- name: Coveralls | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: make coverage |