mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-26 22:11:29 +00:00
ci: ignore the failure when trying to kill redis
This commit is contained in:
parent
e7e0fdc4a1
commit
0f1d8e22f2
|
@ -5,7 +5,7 @@ name: default
|
||||||
steps:
|
steps:
|
||||||
- name: Run Tests and Generate Coverage Report
|
- name: Run Tests and Generate Coverage Report
|
||||||
commands:
|
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 &
|
- redis-server --bind 127.0.0.1 --port 6389 >/dev/null &
|
||||||
- coverage run -m pytest -q
|
- coverage run -m pytest -q
|
||||||
- coverage xml
|
- coverage xml
|
||||||
|
|
Loading…
Reference in a new issue