1
0
Fork 0

Removing comments and make command

This commit is contained in:
zareck 2023-08-28 15:11:36 -03:00
parent f48e3ff0db
commit 7664a423a5
2 changed files with 0 additions and 12 deletions

View file

@ -458,11 +458,6 @@ test-backend:
@echo "Running go test with $(GOTESTFLAGS) -tags '$(TEST_TAGS)'..."
@$(GO) test $(GOTESTFLAGS) -tags='$(TEST_TAGS)' $(GO_TEST_PACKAGES)
# TO-DO: remove this at the end of PR
# Just for test the migration so we dont need to compile and build all integration tests
test-migrate: git-check $(GO_SOURCES)
$(GO) test $(GOTESTFLAGS) -v -tags '$(TEST_TAGS)' -run TestRepoMigrate code.gitea.io/gitea/tests/integration
.PHONY: test-frontend
test-frontend: node_modules
npx vitest

View file

@ -49,13 +49,6 @@ func TestRepoMigrate(t *testing.T) {
}{
{"TestMigrateGithub", "https://github.com/go-gitea/test_repo.git", "git", structs.PlainGitService},
{"TestMigrateGithub", "https://github.com/go-gitea/test_repo.git", "github", structs.GithubService},
//{"TestMigrateGitlab", "tofill.com", "git", structs.GitlabService},
//{"TestMigrateGitea", "tofill.com", "git", structs.GiteaService},
//{"TestMigrateForgejo", "tofill.com", "git", structs.ForgejoService},
//{"TestMigrateGogs", "tofill.com", "git", structs.GogsService},
//{"TestMigrateOneDev", "tofill.com", "git", structs.OneDevService},
//{"TestMigrateGitBucket", "tofill.com", "git", structs.GitBucketService},
//{"TestMigrateCodebase", "tofill.com", "git", structs.CodebaseService},
} {
t.Run(s.testName, func(t *testing.T) {
testRepoMigrate(t, session, s.cloneAddr, s.repoName, s.service)