Skip to content

Commit

Permalink
Change settings
Browse files Browse the repository at this point in the history
  • Loading branch information
huangsam committed Oct 1, 2024
1 parent 4529eff commit e9d024d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ jobs:
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
# Provide the credentials
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: github
POSTGRES_PASSWORD: github
POSTGRES_DB: github_test
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
Expand Down
6 changes: 3 additions & 3 deletions chowist/settings/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql",
"NAME": "postgres",
"NAME": "github",
"HOST": "127.0.0.1",
"PORT": "5432",
"USERNAME": "postgres",
"PASSWORD": "postgres",
"USERNAME": "github",
"PASSWORD": "github_test",
}
}

0 comments on commit e9d024d

Please sign in to comment.