Skip to content

Commit

Permalink
Start a redis cluster when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- authored Apr 5, 2024
1 parent e68c70a commit 0dfc877
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ jobs:
uses: supercharge/redis-github-action@1.4.0
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.8.0
- uses: vishnudxb/redis-cluster@1.0.9
with:
master1-port: 5000
master2-port: 5001
master3-port: 5002
slave1-port: 5003
slave2-port: 5004
slave3-port: 5005
sleep-duration: 5
- name: Test with pytest
run: |
pytest -vv

0 comments on commit 0dfc877

Please sign in to comment.