Skip to content

Commit

Permalink
Merge pull request #869 from DalgoT4D/ci-changes
Browse files Browse the repository at this point in the history
minor changes
  • Loading branch information
Ishankoradia authored Sep 30, 2024
2 parents 8d56bd1 + 4ad4c33 commit d98beb8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ jobs:
CLIENTDBT_ROOT: /tmp
run: |
coverage run -m pytest --durations=20
coverage report --fail-under=70
coverage xml
coverage report --fail-under=70
- name: Check coverage percentage
run: |
Expand Down
16 changes: 13 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include = 'ddpui\/.*\.pyi?$'

[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE="ddpui.settings"
testpaths = [
"ddpui/tests"
]

[tool.pylint.messages_control]
max-line-length = 100
Expand All @@ -19,15 +22,22 @@ disable = [
]

[tool.coverage.run]
source = [
"ddpui"
]
omit = [
"ddpui/utils/sendgrid.py",
"ddpui/utils/dbtdocs.py",
"ddpui/tests/*",
"ddpui/migrations/*",
"ddpui/management/*",
"ddpui/models/*",
"*/__init__.py",
"*/celery.py",
"ddpui/celery.py",
"ddpui/settings.py",
"ddpui/asgi.py",
"ddpui/wsgi.py",
"ddpui/urls.py",
"ddpui/routes.py",
"*/schema.py",
"*/settings.py"
"ddpui/*/__init__.py",
]

0 comments on commit d98beb8

Please sign in to comment.