refactor: use parent::handle() call on PageRouter, use page based route only on fallback #7
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: "tests build" | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - "main" | |
| jobs: | |
| build: | |
| name: PHP ${{ matrix.php-versions }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-versions: ['8.1', '8.2'] | |
| steps: | |
| - name: Setup PHP Action | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| extensions: intl | |
| php-version: "${{ matrix.php-versions }}" | |
| coverage: xdebug | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: "Install dependencies" | |
| run: "composer install" | |
| - name: "CS Check" | |
| run: "vendor/bin/php-cs-fixer fix --dry-run --diff" | |
| - name: "Run test suite" | |
| run: "vendor/bin/phpunit" |