mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-22 22:23:21 +01:00
More unit tests and html coverage report
also fixes a limit bug on listquery
This commit is contained in:
19 files changed
+479
-183
No files matched your search
@@ -1,3 +1,7 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
go test -json -cover ./internal/... | tparse
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
go test -json -cover -coverprofile="$DIR/../coverage.out" ./internal/... | tparse
|
||||
go tool cover -html="$DIR/../coverage.out" -o "$DIR/../coverage.html"
|
||||
rm -f "$DIR/../coverage.out"
|
||||
Reference in new issue
Block a user