Skip to content

Commit

Permalink
[skip-ci] WIP: add redis to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zerlok committed Dec 1, 2024
1 parent f75fca9 commit 2c37ab1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ jobs:
image: rabbitmq:4.0.2-alpine
ports:
- 5672:5672
redis:
image: redis:7.4.1-alpine
ports:
- 6379:6379
strategy:
fail-fast: false
matrix:
Expand All @@ -88,7 +92,7 @@ jobs:
- name: Install the project dependencies
run: poetry install --all-extras
- name: Run pytest
run: poetry run pytest --broker-url=amqp://guest:guest@localhost:5672/ --broker-retry-delay=3 --broker-retry-delay-mode=constant --broker-retries-limit=10 --cov-report=xml
run: poetry run pytest --broker-retry-delay=3 --broker-retry-delay-mode=constant --broker-retries-limit=10 --cov-report=xml
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit 2c37ab1

Please sign in to comment.