ci: exclude paths lib from the tests.

This commit is contained in:
Alexandre Pujol 2024-04-28 12:23:47 +01:00
parent d1fb9574cb
commit f2c45d7507
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -60,7 +60,7 @@ tests:
- mkdir -p /var/log/audit/
- touch /var/log/audit/audit.log /var/log/audit/audit.log.1
- go test ./cmd/... -v -cover -coverprofile=coverage.out
- go test ./pkg/... -v -cover -coverprofile=coverage.out
- go test $(go list ./pkg/... | grep -v /pkg/paths) -v -cover -coverprofile=coverage.out
- go tool cover -func=coverage.out