From 1b6af36636e0b8b81a8d5b79d7917dafd20291fc Mon Sep 17 00:00:00 2001 From: realaravinth Date: Wed, 5 Oct 2022 16:55:19 +0530 Subject: [PATCH] feat: setup coverage generation --- .gitignore | 1 + Makefile | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5f6d1fa..b47f64d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /target .env.local +tarpaulin-report.html diff --git a/Makefile b/Makefile index b7f57da..5b553a1 100644 --- a/Makefile +++ b/Makefile @@ -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