ci: use bootstrap for testing
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
0ce4f9fe12
commit
01c5235e82
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -122,7 +122,7 @@ jobs:
|
|||
docker-compose pull -q
|
||||
docker-compose up --no-start
|
||||
docker-compose start postgresql redis
|
||||
docker-compose run -u authentik --entrypoint /bin/bash server -c "pip install --no-cache -r requirements-dev.txt && ./manage.py test authentik"
|
||||
docker-compose run -u root server test
|
||||
sentry-release:
|
||||
if: ${{ github.event_name == 'release' }}
|
||||
needs:
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue