Skip to content

Commit e715e4d

Browse files
committed
feat: updating the resume module nomenclature
1 parent 13800ab commit e715e4d

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/docker-image.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
run: |
2222
ci_env="bash <(curl -s https://codecov.io/env)"
2323
ci_post_cov="bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}"
24-
docker-compose run -e CI=true --rm api bash -c "$ci_env && pytest && $ci_post_cov"
24+
docker-compose run -e CI=true --rm resume bash -c "$ci_env && pytest && $ci_post_cov"

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ build:
22
@docker-compose build
33

44
bash:
5-
@docker-compose run --rm api bash
5+
@docker-compose run --rm resume bash
66

77
run:
88
@docker-compose up
99

1010
test:
11-
@docker-compose run --rm api pytest
11+
@docker-compose run --rm resume bash -c 'pytest'
1212

1313
down:
1414
@docker-compose down -v

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
ports:
1212
- "5432:5432"
1313

14-
api:
14+
resume:
1515
build: .
1616
environment:
1717
- DJANGO_ENV=development

manage.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
def main():
88
"""Run administrative tasks."""
9-
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'api.settings')
9+
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'resume.settings')
1010
try:
1111
from django.core.management import execute_from_command_line
1212
except ImportError as exc:

pytest.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[pytest]
2-
DJANGO_SETTINGS_MODULE = api.settings
2+
DJANGO_SETTINGS_MODULE = resume.settings
33
testpaths = .
44
python_files = tests.py test_*.py *_tests.py
55
addopts = --flake8 -vv -s --cov=. --cov-report=html

0 commit comments

Comments
 (0)