Replaced travis with GitHub action workflow. #142
This commit is contained in:
1 parent
294f8520ab
commit
70ed000f08
7 files changed
+70
-13
No files matched your search
@@ -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),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user