Skip to content

Commit

Permalink
dev(tests): add codecov report
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-awala committed May 4, 2024
1 parent 204b311 commit 36a6d60
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,9 @@ jobs:
- name: Run tests
run: |
source .venv/bin/activate
pytest tests/
pytest tests/ --cov spark_on_k8s
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
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.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ websockets = {version = "^12", optional = true}
[tool.poetry.dev-dependencies]
mock = "^5.1.0"
pytest = "^7.4.3"
pytest-cov = "^5.0.0"
pre-commit = "^3"
freezegun = "^1.4.0"

Expand Down

0 comments on commit 36a6d60

Please sign in to comment.