mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-22 12:11:26 +00:00
ci: Give redis some time to start?
This commit is contained in:
parent
7fe802eb1d
commit
20f3e5c564
|
@ -8,6 +8,7 @@ steps:
|
||||||
- kill $(ps aux | grep 'redis-server 127.0.0.1:6389' | awk '{print $2}') || true
|
- 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 &
|
||||||
# We do not care about persistance on CI
|
# We do not care about persistance on CI
|
||||||
|
- sleep 10
|
||||||
- redis-cli -h 127.0.0.1 -p 6389 config set stop-writes-on-bgsave-error no
|
- redis-cli -h 127.0.0.1 -p 6389 config set stop-writes-on-bgsave-error no
|
||||||
- coverage run -m pytest -q
|
- coverage run -m pytest -q
|
||||||
- coverage xml
|
- coverage xml
|
||||||
|
|
Loading…
Reference in a new issue