generate before test

This commit is contained in:
jkoberg
2021-10-19 09:36:23 +02:00
parent cee10e06e5
commit de37b0b631
2 changed files with 1 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ ci-golangci-lint: $(GOLANGCI_LINT)
$(GOLANGCI_LINT) run -E gosec -E bodyclose -E dogsled -E durationcheck -E revive -E ifshort -E makezero -E prealloc -E predeclared --path-prefix $(NAME) --timeout 10m0s --issues-exit-code 0 --out-format checkstyle > checkstyle.xml
.PHONY: test
test:
test: ci-node-generate
@go test -v -coverprofile coverage.out ./...
.PHONY: go-coverage

View File

@@ -132,7 +132,6 @@ go-mod-tidy:
.PHONY: test
test:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod ci-node-generate; \
$(MAKE) --no-print-directory -C $$mod test; \
done