ci: use bootstrap for testing

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-06-09 15:50:32 +02:00
parent 0ce4f9fe12
commit 01c5235e82
2 changed files with 4 additions and 1 deletions

View File

@ -32,6 +32,9 @@ elif [[ "$1" == "restore" ]]; then
python -m manage dbrestore ${@:2}
elif [[ "$1" == "bash" ]]; then
/bin/bash
elif [[ "$1" == "test" ]]; then
pip install --no-cache -r requirements-dev.txt
check_if_root "python -m manage test authentik"
else
python -m manage "$@"
fi