Skip to content

Commit

Permalink
update ci settings
Browse files Browse the repository at this point in the history
  • Loading branch information
victory-sokolov committed Jul 9, 2024
1 parent a7ab2de commit 4582ff4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ tests-ci: ## Run tests with coverage
# DJANGO_ENV=ci poetry run coverage html

test: ## Run single test
DJANGO_ENV=ci poetry run python manage.py test
DJANGO_ENV=test poetry run coverage run --parallel-mode --concurrency=multiprocessing manage.py test --parallel -v 2

build-local: load-fixtures migrate
DJANGO_ENV=local poetry install --no-root
Expand Down
18 changes: 12 additions & 6 deletions settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,15 @@ production:
CELERY_TASK_EAGER_PROPAGATES: False

ci:
ENGINE: 'django.db.backends.postgresql'
NAME: 'blog'
USER: 'user'
PASSWORD: 'securepassword'
PORT: 5431
HOST: 'postgres'
SECRET_KEY: 'Kr5E1qxqLZxTBXgbt66TzzfncPLLMRU1Yjt60TnOx4rplQa-iwBCThDi0mYlMd06C7-G_'
ALLOWED_HOSTS: ['*']
DEBUG: True

DATABASES:
default:
ENGINE: 'django.db.backends.postgresql'
NAME: 'blog'
USER: 'user'
PASSWORD: 'securepassword'
PORT: 5431
HOST: 'postgres'

0 comments on commit 4582ff4

Please sign in to comment.