set fail-fast to false to allow other jobs to continue processing sin… #325
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 | |
| on: | |
| push: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| ci_tests: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: true | |
| steps: | |
| - | |
| name: Checkout | |
| uses: actions/checkout@v4 | |
| - | |
| name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.2 | |
| tools: composer:v2 | |
| coverage: none | |
| - | |
| name: Install dependencies | |
| uses: nick-invision/retry@v3 | |
| with: | |
| timeout_minutes: 5 | |
| max_attempts: 5 | |
| command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress | |
| - | |
| name: Run syntax checks | |
| run: ./vendor/bin/phpcs --standard=PSR12 bin/generate-dockerfiles.php src tests | |
| - | |
| name: Run unit tests | |
| run: ./vendor/bin/phpunit |