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 /target
.env.local .env.local
tarpaulin-report.html

View file

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