mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 21:01:54 +02:00
Make api docker image able to run tests
This commit is contained in:
parent
046648ce6c
commit
99f33dd392
4 changed files with 9 additions and 22 deletions
7
api/compose/django/dev-entrypoint.sh
Executable file
7
api/compose/django/dev-entrypoint.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
if [ $1 = "pytest" ]; then
|
||||
# let pytest.ini handle it
|
||||
unset DJANGO_SETTINGS_MODULE
|
||||
fi
|
||||
exec "$@"
|
Loading…
Add table
Add a link
Reference in a new issue