|
|
|
@ -220,7 +220,7 @@ fmt-check: |
|
|
|
|
fi;
|
|
|
|
|
|
|
|
|
|
.PHONY: test |
|
|
|
|
test: git-check |
|
|
|
|
test: |
|
|
|
|
GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' $(PACKAGES)
|
|
|
|
|
|
|
|
|
|
.PHONY: test\#%
|
|
|
|
@ -236,7 +236,7 @@ coverage: |
|
|
|
|
|
|
|
|
|
.PHONY: unit-test-coverage |
|
|
|
|
unit-test-coverage: |
|
|
|
|
$(GO) test -tags='sqlite sqlite_unlock_notify' -cover -coverprofile coverage.out $(PACKAGES) && echo "\n==>\033[32m Ok\033[m\n" || exit 1
|
|
|
|
|
GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' -cover -coverprofile coverage.out $(PACKAGES) && echo "\n==>\033[32m Ok\033[m\n" || exit 1
|
|
|
|
|
|
|
|
|
|
.PHONY: vendor |
|
|
|
|
vendor: |
|
|
|
@ -374,7 +374,7 @@ integrations.mssql.test: git-check $(GO_SOURCES) |
|
|
|
|
integrations.sqlite.test: git-check $(GO_SOURCES) |
|
|
|
|
GO111MODULE=on $(GO) test -mod=vendor -c code.gitea.io/gitea/integrations -o integrations.sqlite.test -tags 'sqlite sqlite_unlock_notify'
|
|
|
|
|
|
|
|
|
|
integrations.cover.test: $(GO_SOURCES) |
|
|
|
|
integrations.cover.test: git-check $(GO_SOURCES) |
|
|
|
|
GO111MODULE=on $(GO) test -mod=vendor -c code.gitea.io/gitea/integrations -coverpkg $(shell echo $(PACKAGES) | tr ' ' ',') -o integrations.cover.test
|
|
|
|
|
|
|
|
|
|
.PHONY: migrations.mysql.test |
|
|
|
|