Skip to content

Commit

Permalink
give a deplay for valkey
Browse files Browse the repository at this point in the history
  • Loading branch information
suparious committed Jun 11, 2024
1 parent d3b3b88 commit 7b6a593
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,16 @@ jobs:
pip install -r requirements.txt
- name: Wait for Valkey to be available
run: |
sleep 30
for i in {1..10}; do
if valkey-cli -h ${VALKEY_HOST} ping | grep PONG; then
break
fi
echo "Waiting for Valkey to be available..."
sleep 5
done
- name: Verify Valkey container is running
run: docker ps
- name: Run tests
run: |
python -m unittest discover tests

0 comments on commit 7b6a593

Please sign in to comment.