feat: setup coverage generation

This commit is contained in:
Aravinth Manivannan 2022-10-05 16:55:19 +05:30
parent d1a854ff4d
commit 1b6af36636
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
2 changed files with 2 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/target
.env.local
tarpaulin-report.html

View File

@ -8,7 +8,6 @@ clean: ## Delete build artifacts
@cargo clean
coverage: ## Generate code coverage report in HTML format
$(call cache_bust)
cargo tarpaulin -t 1200 --out Html
doc: ## Generate documentation
@ -46,7 +45,7 @@ run: ## Run app in debug mode
# --all-features
test: ## Run all available tests
cargo test --no-fail-fast
cargo test --no-fail-fast --workspace
xml-test-coverage: ## Generate code coverage report in XML format
cargo tarpaulin -t 1200 --out Xml