Replaced travis with GitHub action workflow. #142

This commit is contained in:
Fabio Caccamo committed 2021-12-07 10:43:46 +01:00
1 parent 294f8520ab
commit 70ed000f08
7 files changed
+70 -13

No files matched your search

+6
View File
@@ -89,6 +89,12 @@ database_config = {
}
}
github_workflow = os.environ.get('GITHUB_WORKFLOW')
if github_workflow:
database_config['postgres']['NAME'] = 'postgres'
database_config['postgres']['HOST'] = '127.0.0.1'
database_config['postgres']['PORT'] = '5432'
DATABASES = {
'default': database_config.get(database_engine),
}