Skip to content

Commit

Permalink
Fix coverage workflow (#145)
Browse files Browse the repository at this point in the history
* Latest package versions

* Add coverage badge workflow

* Add missing coverage report
  • Loading branch information
surajpaib authored Jan 31, 2025
1 parent e250907 commit 8dc5cba
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@ formatting: codestyle

#* Linting
.PHONY: test
test:
uv run pytest -c pyproject.toml --cov=lighter --cov-report=term-missing
test:
uv run pytest -c pyproject.toml --cov-report=html --cov=lighter tests/
$(MAKE) coverage

.PHONY: coverage
coverage:
uvx coverage-badge -o assets/images/coverage.svg -f

.PHONY: check-codestyle
check-codestyle:
Expand Down
6 changes: 3 additions & 3 deletions assets/images/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion uv.lock

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

0 comments on commit 8dc5cba

Please sign in to comment.