mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-17 13:38:03 +00:00
Disable caching during tests
This commit is contained in:
@@ -20,6 +20,7 @@ test_and_coverage:
|
|||||||
- echo 'from ivatar.settings import TEMPLATES' > config_local.py
|
- echo 'from ivatar.settings import TEMPLATES' > config_local.py
|
||||||
- echo 'TEMPLATES[0]["OPTIONS"]["debug"] = True' >> config_local.py
|
- echo 'TEMPLATES[0]["OPTIONS"]["debug"] = True' >> config_local.py
|
||||||
- echo "DEBUG = True" >> config_local.py
|
- echo "DEBUG = True" >> config_local.py
|
||||||
|
- echo "CACHES = None" >> config_local.py
|
||||||
- python manage.py collectstatic --noinput
|
- python manage.py collectstatic --noinput
|
||||||
- coverage run --source . manage.py test -v3
|
- coverage run --source . manage.py test -v3
|
||||||
- coverage report --fail-under=70
|
- coverage report --fail-under=70
|
||||||
|
|||||||
Reference in New Issue
Block a user