Skip to content

Commit

Permalink
refactor(tests): add HTML coverage report generation to test command …
Browse files Browse the repository at this point in the history
…in Makefile
  • Loading branch information
giuseppeambrosio97 committed Jan 7, 2025
1 parent 295021d commit 8138c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ lint:
run-pre-commit:
@pre-commit run --all-files
test:
@pytest -s --cov=focoos --cov-report="xml:tests/coverage.xml" --junitxml=./tests/junit.xml && rm -f .coverage
@pytest -s --cov=focoos --cov-report="xml:tests/coverage.xml" --cov-report=html --junitxml=./tests/junit.xml && rm -f .coverage
clean:
@rm -rf build dist *.egg-info .tox .nox .coverage .coverage.* .cache .pytest_cache htmlcov
@find . -type d -name "__pycache__" -exec rm -r {} +

0 comments on commit 8138c23

Please sign in to comment.