You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/migrations/v1_22
Lunny Xiao 45277486c2
Fix bug hidden on CI and make ci failed if tests failure (#29254)
The tests on migration tests failed but CI reports successfully


https://github.com/go-gitea/gitea/actions/runs/7364373807/job/20044685969#step:8:141

This PR will fix the bug on migration v283 and also the CI hidden
behaviour.

The reason is on the Makefile

`GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini $(GO) test
$(GOTESTFLAGS) -tags='$(TEST_TAGS)' $(MIGRATE_TEST_PACKAGES)` will
return the error exit code.

But 

`for pkg in $(shell $(GO) list
code.gitea.io/gitea/models/migrations/...); do \
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini $(GO) test
$(GOTESTFLAGS) -tags '$(TEST_TAGS)' $$pkg; \
	done`

will not work.

This also fix #29602
11 months ago
..
main_test.go Add combined index for issue_user.uid and issue_id (#28080) 1 year ago
v280.go
v281.go
v282.go Add Index to pull_auto_merge.doer_id (#27811) 1 year ago
v283.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 11 months ago
v283_test.go Fix migration test (#28659) 1 year ago
v284.go Add branch protection setting for ignoring stale approvals (#28498) 1 year ago
v285.go Fix incorrect action duration time when rerun the job before executed once (#28364) 1 year ago
v286.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 11 months ago
v286_test.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 11 months ago
v287.go Add admin API route for managing user's badges (#23106) 11 months ago
v287_test.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 11 months ago
v288.go Add user blocking (#29028) 11 months ago
v289.go Make wiki default branch name changable (#29603) 11 months ago