Skip to content

Commit

Permalink
ci: add codenv
Browse files Browse the repository at this point in the history
  • Loading branch information
Amazia Gur authored and Amazia Gur committed Nov 27, 2024
1 parent 0f95447 commit cc20253
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,8 @@ jobs:
- name: Run tests using Make
run: |
make test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

test:
@echo "Running tests..."
poetry run pytest
poetry run pytest --cov=mimicker --cov-report=xml --cov-report=html


install:
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ requests = "^2.0"
pytest = "^6.0"
PyHamcrest = "^2.0"

[tool.poetry.group.dev.dependencies]
pytest-cov = "<3.0"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

0 comments on commit cc20253

Please sign in to comment.