-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,9 +88,25 @@ test_ocr_soak: | |
cd ./integration-tests &&\ | ||
SELECTED_NETWORKS=SIMULATED go test -timeout 24h -count=1 -json $(args) ./soak 2>&1 | tee /tmp/gotest.log | gotestfmt | ||
|
||
gomodtidy: | ||
go mod tidy | ||
cd ./integration-tests && go mod tidy | ||
.PHONY: gomods | ||
gomods: ## Install gomods | ||
go install github.com/jmank88/[email protected] | ||
|
||
.PHONY: gomodtidy | ||
gomodtidy: gomods | ||
gomods tidy | ||
|
||
.PHONY: mockery | ||
mockery: $(mockery) ## Install mockery. | ||
go install github.com/vektra/mockery/[email protected] | ||
|
||
.PHONY: rm-mocked | ||
rm-mocked: | ||
grep -rl "^// Code generated by mockery" | grep .go$ | xargs -r rm | ||
|
||
.PHONY: generate | ||
generate: mockery gomods | ||
gomods -w go generate -x ./... | ||
|
||
.PHONY: lint-go-integration-tests | ||
lint-go-integration-tests: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.