Skip to content

Commit

Permalink
Use sqlite for sphinx doc build db backend
Browse files Browse the repository at this point in the history
  • Loading branch information
rlskoeser committed May 10, 2022
1 parent 1b93adf commit caa5d82
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/sphinx_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
env:
DJANGO_ENV: docs
DJANGO_VERSION: 3.2
DJANGO_DB_BACKEND: sqlite3


jobs:
docs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ env:
DB_NAME: djiffy
DB_USER: djiffy
DB_PASSWORD: djiffy123
DJANGO_DB_BACKEND: postgresql


jobs:
python-unit:
Expand Down
2 changes: 1 addition & 1 deletion ci/testsettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# run against postgresql
DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql",
"ENGINE": "django.db.backends.%s" % os.getenv("DJANGO_DB_BACKEND"),
"PASSWORD": os.getenv("DB_PASSWORD"),
"USER": os.getenv("DB_USER"),
"NAME": os.getenv("DB_NAME"),
Expand Down

0 comments on commit caa5d82

Please sign in to comment.