mirror of
https://github.com/go-gitea/gitea
synced 2024-12-27 02:54:27 +00:00
e8b6d28ab9
Backport #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 migrations 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. --------- Co-authored-by: Giteabot <teabot@gitea.io>
12 lines
171 B
YAML
12 lines
171 B
YAML
-
|
|
id: 1
|
|
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11
|
|
issue_id: 1
|
|
release_id: 0
|
|
|
|
-
|
|
id: 2
|
|
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a12
|
|
issue_id: 0
|
|
release_id: 1
|