Add tarpaulin make target

This commit is contained in:
Sosthène Guédon
2023-03-24 17:38:29 +01:00
parent 2fa6c032b7
commit ff3bfd581b
2 changed files with 7 additions and 1 deletions
+2
View File
@@ -3,3 +3,5 @@
target
Cargo.lock
cobertura.xml
tarpaulin-report.html
+5 -1
View File
@@ -1,6 +1,6 @@
# Copyright (C) Nitrokey GmbH
# SPDX-License-Identifier: CC0-1.0
export RUST_LOG ?= info,cargo_tarpaulin=off
.PHONY: check
check:
RUSTLFAGS='-Dwarnings' cargo check --all-features --all-targets
@@ -16,5 +16,9 @@ lint:
test:
cargo test --all-features
.PHONY: tarpaulin
tarpaulin:
cargo tarpaulin --all-features -o Html -o Xml
.PHONY: ci
ci: check lint test