mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-23 06:43:57 +08: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 |
||
---|---|---|
.. | ||
base | ||
fixtures | ||
v1_6 | ||
v1_7 | ||
v1_8 | ||
v1_9 | ||
v1_10 | ||
v1_11 | ||
v1_12 | ||
v1_13 | ||
v1_14 | ||
v1_15 | ||
v1_16 | ||
v1_17 | ||
v1_18 | ||
v1_19 | ||
v1_20 | ||
v1_21 | ||
v1_22 | ||
migrations.go |