ci: ensure tests pkg are not run in parallel.

This commit is contained in:
Alexandre Pujol 2023-06-18 11:40:32 +01:00
parent 98e59e9336
commit a78f6c7757
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 4 additions and 2 deletions

View File

@ -50,7 +50,8 @@ tests:
- chmod 755 /usr/bin/journalctl
- mkdir -p /var/log/audit/
- touch /var/log/audit/audit.log /var/log/audit/audit.log.1
- go test ./cmd/... ./pkg/... -v -cover -coverprofile=coverage.out
- go test ./cmd/... -v -cover -coverprofile=coverage.out
- go test ./pkg/... -v -cover -coverprofile=coverage.out
- go tool cover -func=coverage.out

View File

@ -83,7 +83,8 @@ rpm:
@make local
tests:
@go test ./cmd/... ./pkg/... -v -cover -coverprofile=coverage.out
@go test ./cmd/... -v -cover -coverprofile=coverage.out
@go test ./pkg/... -v -cover -coverprofile=coverage.out
@go tool cover -func=coverage.out
lint: