Skip to content

Commit

Permalink
RabbitMQ Health Check fo test
Browse files Browse the repository at this point in the history
  • Loading branch information
byjg committed May 13, 2023
1 parent 63d0e08 commit c242ba6
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,17 @@ jobs:
ports:
- "5672:5672"
options: >-
--health-cmd="rabbitmq-diagnostics status"
--health-interval=10s
--health-timeout=5s
--health-retries=5
--health-cmd "rabbitmq-diagnostics status"
--health-interval "10s"
--health-timeout "1s"
--health-retries "5"
--health-start-period 15s
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- run: docker ps -a
- uses: actions/checkout@v3
- run: composer install
- run: ./vendor/bin/phpunit
Expand Down

0 comments on commit c242ba6

Please sign in to comment.