From 7664a423a5abf051383374b4156857e83faee7c0 Mon Sep 17 00:00:00 2001 From: zareck Date: Mon, 28 Aug 2023 15:11:36 -0300 Subject: [PATCH] Removing comments and make command --- Makefile | 5 ----- tests/integration/repo_migrate_test.go | 7 ------- 2 files changed, 12 deletions(-) diff --git a/Makefile b/Makefile index 381e7c51e6..c5565d058f 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/tests/integration/repo_migrate_test.go b/tests/integration/repo_migrate_test.go index 920cdf042c..9fb7a73379 100644 --- a/tests/integration/repo_migrate_test.go +++ b/tests/integration/repo_migrate_test.go @@ -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)