PJAS-466 Tasks being enqueued multiple times during peak hours #22
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: Hydrogen PHPUnit | |
on: | |
push: | |
branches: [ master, stage ] | |
pull_request: | |
branches: [ master, stage ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 6379:6379 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress --no-suggest | |
- name: Run PHPUnit | |
run: php vendor/bin/phpunit | |
env: | |
PHPUNIT_BERYILLIUM_PARALLEL_WAIT: 15 | |
- name: Run PHPStan | |
run: php vendor/bin/phpstan analyse src --error-format=github -l8 |