Skip to content

Commit

Permalink
run tests with codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
vysakh0 committed Jul 17, 2024
1 parent 50ad80d commit 2cd8b5b
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
pip install poetry
poetry install
- name: Run tests
run: poetry run pytest
run: poetry run pytest --cov=dravid --cov-report=term-missing
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ testapp
.pytest_cache
myfrontendapp
nodsam
.python-version
.python-version
.coverage
87 changes: 86 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ lxml = "^5.2.2"
[tool.poetry.dev-dependencies]
pytest = "^7.2.0"

[tool.poetry.group.dev.dependencies]
pytest-cov = "^5.0.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Expand Down

0 comments on commit 2cd8b5b

Please sign in to comment.