ci: ignore the failure when trying to kill redis

This commit is contained in:
Inex Code 2023-06-23 12:57:39 +03:00
parent f27a3df807
commit 0d622d431f

View file

@ -5,7 +5,7 @@ name: default
steps:
- name: Run Tests and Generate Coverage Report
commands:
- kill $(ps aux | grep 'redis-server 127.0.0.1:6389' | awk '{print $2}')
- kill $(ps aux | grep 'redis-server 127.0.0.1:6389' | awk '{print $2}') || true
- redis-server --bind 127.0.0.1 --port 6389 >/dev/null &
- coverage run -m pytest -q
- coverage xml