feat: setup coverage generation
This commit is contained in:
parent
d1a854ff4d
commit
1b6af36636
2 changed files with 2 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
/target
|
/target
|
||||||
.env.local
|
.env.local
|
||||||
|
tarpaulin-report.html
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue