mirror of
https://github.com/go-gitea/gitea
synced 2025-08-02 07:38:35 +00:00
remove sqlite tag when integration test with mysql/postgres AND recreate database when init integration test (#1693)
This commit is contained in:
committed by
Kim "BKC" Carlbäcker
parent
377acb9757
commit
d98a86d2a2
5
Makefile
5
Makefile
@@ -96,7 +96,8 @@ test-vendor:
|
||||
govendor status || exit 1
|
||||
|
||||
.PHONY: test-sqlite
|
||||
test-sqlite: integrations.test
|
||||
test-sqlite:
|
||||
go test -c code.gitea.io/gitea/integrations -tags 'sqlite'
|
||||
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.test
|
||||
|
||||
.PHONY: test-mysql
|
||||
@@ -108,7 +109,7 @@ test-pgsql: integrations.test
|
||||
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.test
|
||||
|
||||
integrations.test: $(SOURCES)
|
||||
go test -c code.gitea.io/gitea/integrations -tags 'sqlite'
|
||||
go test -c code.gitea.io/gitea/integrations
|
||||
|
||||
.PHONY: check
|
||||
check: test
|
||||
|
Reference in New Issue
Block a user