Merge pull request 'Activate venv on integration test' (#1087) from fix-test-env into main

Reviewed-on: https://git.joinplu.me/Plume/Plume/pulls/1087
This commit is contained in:
KitaitiMakoto 2022-05-14 21:34:37 +00:00
commit 35d12d7cae

View File

@ -14,6 +14,7 @@ caddy run -config /Caddyfile &
until curl http://localhost:7878/test/health -f; do sleep 1; done 2>/dev/null >/dev/null until curl http://localhost:7878/test/health -f; do sleep 1; done 2>/dev/null >/dev/null
source .venv/bin/activate
cd $(dirname $0)/browser_test/ cd $(dirname $0)/browser_test/
python3 -m unittest *.py python3 -m unittest *.py