Skip to content

Commit

Permalink
refactor: Update .coveragerc to include CapX/tests/test_settings_loca…
Browse files Browse the repository at this point in the history
…l.py
  • Loading branch information
albertoleoncio committed Aug 8, 2024
1 parent 29037ac commit 5eba473
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[run]
omit = manage.py
omit =
manage.py
2 changes: 1 addition & 1 deletion .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
echo "BASE_DIR = '${GITHUB_WORKSPACE}'" >> CapX/settings_local.py
echo "DATABASES = {'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'db.sqlite3'}}" >> CapX/settings_local.py
echo "LANGUAGES = (('en', 'English'),('pt', 'Portuguese'),('es', 'Spanish'),)" >> CapX/settings.py
echo " CapX/settings_local.py" >> .coveragerc
echo " CapX/tests/test_settings_local.py" >> .coveragerc
- name: Coverage report
run: |
pip install coverage
Expand Down

0 comments on commit 5eba473

Please sign in to comment.