mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
ci: ensure tests pkg are not run in parallel.
This commit is contained in:
parent
98e59e9336
commit
a78f6c7757
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
3
Makefile
3
Makefile
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue