mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
ci: exclude paths lib from the tests.
This commit is contained in:
parent
d1fb9574cb
commit
f2c45d7507
@ -60,7 +60,7 @@ tests:
|
|||||||
- mkdir -p /var/log/audit/
|
- mkdir -p /var/log/audit/
|
||||||
- touch /var/log/audit/audit.log /var/log/audit/audit.log.1
|
- touch /var/log/audit/audit.log /var/log/audit/audit.log.1
|
||||||
- go test ./cmd/... -v -cover -coverprofile=coverage.out
|
- 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
|
- go tool cover -func=coverage.out
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user