Run tests in CI

This commit is contained in:
Christa Hartsock
2022-07-01 11:45:49 -07:00
parent b51e49a662
commit bf21aa882b
2 changed files with 42 additions and 2 deletions

View File

@@ -471,8 +471,8 @@ class Test(Development):
TRANSIENT_UPLOADED_LETTERS = 'test-transient-uploaded-letters'
LETTER_SANITISE_BUCKET_NAME = 'test-letters-sanitise'
# this is overriden in jenkins and on cloudfoundry
SQLALCHEMY_DATABASE_URI = os.getenv('SQLALCHEMY_DATABASE_URI', 'postgresql://postgres:chummy@db:5432/notification_api')
# this is overriden in CI
SQLALCHEMY_DATABASE_URI = os.getenv('SQLALCHEMY_DATABASE_TEST_URI', 'postgresql://postgres:chummy@db:5432/test_notification_api')
CELERY = {
**Config.CELERY,