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
|
- 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…
Add table
Add a link
Reference in a new issue