collect the pid of the server on startup, and kill it on shutdown
This commit is contained in:
parent
7bdb1712b9
commit
428150e81f
@ -2,5 +2,6 @@
|
|||||||
|
|
||||||
python3 -m pip install pipenv
|
python3 -m pip install pipenv
|
||||||
pipenv run ./install.sh
|
pipenv run ./install.sh
|
||||||
pipenv run python3 app/simple.py &
|
pipenv run python3 app/simple.py & PID=$!
|
||||||
pipenv run python3 -m pytest tests/test_hov.py --verbose --show-capture=all
|
pipenv run python3 -m pytest tests/test_hov.py --verbose --show-capture=all
|
||||||
|
kill -9 $PID
|
||||||
|
Loading…
Reference in New Issue
Block a user