This repository was archived by the owner on Dec 2, 2025. It is now read-only.
Increase bundle version number #43
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' | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| check_command: ['lint:composer', 'lint:php', 'phpstan', 'tests:unit:ci', 'tests:integration'] | |
| php_version: ['8.2', '8.3', '8.4'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Install PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| coverage: 'xdebug' | |
| php-version: ${{ matrix.php_version }} | |
| env: | |
| fail-fast: true | |
| - name: Cache dependencies | |
| uses: actions/cache@v3 | |
| with: | |
| path: '~/.cache/composer' | |
| key: "cache-composer-${{ hashFiles('**/app/composer.lock') }}" | |
| restore-keys: 'cache-composer-' | |
| - name: Install dependencies | |
| run: composer install | |
| - name: Run ${{ matrix.check_command }} | |
| run: composer run ${{ matrix.check_command }} |