mirror of
https://github.com/Icinga/icingadb.git
synced 2026-05-28 04:35:54 -04:00
Add coverage.sh
This commit is contained in:
parent
a776d64f9c
commit
6299908ed3
2 changed files with 5 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
|
||||
coverage\.html
|
||||
3
coverage.sh
Executable file
3
coverage.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
go test -race -cover -coverprofile=c.out
|
||||
go tool cover -html=c.out -o coverage.html
|
||||
rm c.out
|
||||
Loading…
Reference in a new issue