diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2022-02-19 03:28:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-19 10:28:43 +0800 |
commit | 159c3f48af452dc96bf6489d1d7c99ea89d174c4 (patch) | |
tree | 65cf53900d467cc108990558335986a1dd43cdbd /Makefile | |
parent | 41aa49d910875bafd225905ac77734f3118d6120 (diff) | |
download | gitea-159c3f48af452dc96bf6489d1d7c99ea89d174c4.tar.gz gitea-159c3f48af452dc96bf6489d1d7c99ea89d174c4.zip |
Generate coverage with sqlite. (#18813)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -514,6 +514,10 @@ bench-pgsql: integrations.pgsql.test generate-ini-pgsql integration-test-coverage: integrations.cover.test generate-ini-mysql GITEA_ROOT="$(CURDIR)" GITEA_CONF=integrations/mysql.ini ./integrations.cover.test -test.coverprofile=integration.coverage.out +.PHONY: integration-test-coverage-sqlite +integration-test-coverage-sqlite: integrations.cover.sqlite.test generate-ini-sqlite + GITEA_ROOT="$(CURDIR)" GITEA_CONF=integrations/sqlite.ini ./integrations.cover.sqlite.test -test.coverprofile=integration.coverage.out + integrations.mysql.test: git-check $(GO_SOURCES) $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/integrations -o integrations.mysql.test @@ -532,6 +536,9 @@ integrations.sqlite.test: git-check $(GO_SOURCES) integrations.cover.test: git-check $(GO_SOURCES) $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/integrations -coverpkg $(shell echo $(GO_PACKAGES) | tr ' ' ',') -o integrations.cover.test +integrations.cover.sqlite.test: git-check $(GO_SOURCES) + $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/integrations -coverpkg $(shell echo $(GO_PACKAGES) | tr ' ' ',') -o integrations.cover.sqlite.test -tags '$(TEST_TAGS)' + .PHONY: migrations.mysql.test migrations.mysql.test: $(GO_SOURCES) $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/integrations/migration-test -o migrations.mysql.test |