mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
ci: ensure tests pkg are not run in parallel.
This commit is contained in:
parent
98e59e9336
commit
a78f6c7757
@ -50,7 +50,8 @@ tests:
|
|||||||
- chmod 755 /usr/bin/journalctl
|
- chmod 755 /usr/bin/journalctl
|
||||||
- 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/... ./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
|
- go tool cover -func=coverage.out
|
||||||
|
|
||||||
|
|
||||||
|
3
Makefile
3
Makefile
@ -83,7 +83,8 @@ rpm:
|
|||||||
@make local
|
@make local
|
||||||
|
|
||||||
tests:
|
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
|
@go tool cover -func=coverage.out
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
|
Loading…
Reference in New Issue
Block a user