mirror of
https://github.com/go-gitea/gitea
synced 2024-11-25 14:52:49 +01:00
45277486c2
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 |
||
---|---|---|
.. | ||
main_test.go | ||
v189.go | ||
v189_test.go | ||
v190.go | ||
v191.go | ||
v192.go | ||
v193.go | ||
v193_test.go | ||
v194.go | ||
v195.go | ||
v195_test.go | ||
v196.go | ||
v197.go | ||
v198.go | ||
v199.go | ||
v200.go | ||
v201.go | ||
v202.go | ||
v203.go | ||
v204.go | ||
v205.go | ||
v206.go | ||
v207.go | ||
v208.go | ||
v209.go | ||
v210.go | ||
v210_test.go |