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
Failed to generate hash of commit

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