Add integration tests (#20)
* Adding integration tests with inlines * Adding more tests * FIx make file * Setup CI build matrix to work with integration tests * Try again * Fix workflow synctax * Clean up workflow * Format and some lint stuff * Try codecov * yml * More Testing * Minor lint things * Update * Try again for codecov * Updates * Try? * Ignore quotes * Exclude test project * try this? * checkout required * Rename * clean up configs * Fix * Allow to fail * ignores * FInish the integration tests for cache * Fix workflow yml * fix * Try up again * TRy again * Fix * Fix * Fix tests Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
This commit is contained in:
@@ -24,13 +24,13 @@ SECRET_KEY = "=yddl-40388w3e2hl$e8)revce=n67_idi8pfejtn3!+2%!_qt"
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
USE_DCOKER = os.environ.get("USE_DOCKER", '').lower() == "true"
|
||||
USE_DCOKER = os.environ.get("USE_DOCKER", "").lower() == "true"
|
||||
|
||||
ALLOWED_HOSTS = ["127.0.0.1", "localhost"]
|
||||
if USE_DCOKER:
|
||||
import socket
|
||||
|
||||
ALLOWED_HOSTS = [socket.gethostbyname(socket.gethostname())]
|
||||
ALLOWED_HOSTS += [socket.gethostbyname(socket.gethostname())]
|
||||
|
||||
# Application definition
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from .base import *
|
||||
|
||||
INSTALLED_APPS = INSTALLED_APPS + ['market']
|
||||
INSTALLED_APPS = INSTALLED_APPS + ["market"]
|
||||
WSGI_APPLICATION = "test_project.wsgi.application"
|
||||
ROOT_URLCONF = "test_project.urls"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from .base import *
|
||||
|
||||
INSTALLED_APPS = INSTALLED_APPS + ['tests.market']
|
||||
INSTALLED_APPS = INSTALLED_APPS + ["tests.market"]
|
||||
WSGI_APPLICATION = "tests.test_project.wsgi.application"
|
||||
ROOT_URLCONF = "tests.test_project.urls"
|
||||
|
||||
Reference in New Issue
Block a user