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
1 changed files with 2 additions and 0 deletions

View File

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