lifecycle: fix tests in container not working

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-01-06 21:29:08 +01:00
parent 4e476fd4e9
commit b6f518ffe6

View file

@ -80,6 +80,8 @@ elif [[ "$1" == "restore" ]]; then
elif [[ "$1" == "bash" ]]; then
/bin/bash
elif [[ "$1" == "test" ]]; then
# https://github.com/python-poetry/poetry/issues/4493
pip install platformdirs
poetry install
touch /unittest.xml
chown authentik:authentik /unittest.xml