githaven/.github/workflows
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
2024-03-07 17:43:32 +01:00
..
cron-licenses.yml feat: bump dessant/lock-threads and actions/setup-go to use nodejs20 runtime (#28565) 2023-12-21 13:31:04 +08:00
cron-lock.yml Don’t comment when locking (#29508) 2024-03-01 09:43:42 +08:00
cron-translations.yml Bump workflows in github actions (#27836) 2023-10-30 15:56:43 +08:00
disk-clean.yml Remove workaround in disk-clean.yml (#28195) 2023-11-24 13:25:01 +01:00
files-changed.yml Run editorconfig-checker on locale_en-US.ini (#29608) 2024-03-06 02:48:14 +01:00
pull-compliance.yml Update js and py dependencies, bump python (#29561) 2024-03-03 17:23:14 +01:00
pull-db-tests.yml Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-07 17:43:32 +01:00
pull-docker-dryrun.yml Bump workflows in github actions (#27836) 2023-10-30 15:56:43 +08:00
pull-e2e-tests.yml feat: bump dessant/lock-threads and actions/setup-go to use nodejs20 runtime (#28565) 2023-12-21 13:31:04 +08:00
pull-labeler.yml Tweak labeler config (#27502) 2023-10-08 13:11:26 +00:00
release-nightly.yml feat: bump dessant/lock-threads and actions/setup-go to use nodejs20 runtime (#28565) 2023-12-21 13:31:04 +08:00
release-tag-rc.yml feat: bump dessant/lock-threads and actions/setup-go to use nodejs20 runtime (#28565) 2023-12-21 13:31:04 +08:00
release-tag-version.yml feat: bump dessant/lock-threads and actions/setup-go to use nodejs20 runtime (#28565) 2023-12-21 13:31:04 +08:00