Skip to content

Commit 5122a07

Browse files
author
Michael Brewer
committed
fix(pytest): Configure coverage reporting
1 parent 68ecc4a commit 5122a07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ lint: format
1717
poetry run flake8 aws_lambda_powertools/* tests/*
1818

1919
test:
20-
poetry run pytest -m "not perf" --cov=./ --cov-report=xml
20+
poetry run pytest -m "not perf" --cov=aws_lambda_powertools --cov-report=xml
2121
poetry run pytest --cache-clear tests/performance
2222

2323
coverage-html:
24-
poetry run pytest -m "not perf" --cov-report=html
24+
poetry run pytest -m "not perf" --cov=aws_lambda_powertools --cov-report=html
2525

2626
pr: lint test security-baseline complexity-baseline
2727

0 commit comments

Comments
 (0)