Commit Graph

3 Commits (1fbc9ecfa2858148b77d69eda2a8a56a4a39e3e5)

Author SHA1 Message Date
Michal Suchanek 9acb9377af Filter out gitea-specific variables in tests
There is no particular reason to set gitea variables globally.

Nonetheless, some misguided packagers set GITEA_CUSTOM in /etc/profile
breaking tests.

Fixes: go-gitea/gitea#36042
2025-12-05 10:17:29 +07:00
TheFox0x7 cc1fdc84ca
Use test context in tests and new loop system in benchmarks (#33648)
Replace all contexts in tests with go1.24 t.Context()

---------

Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-02-20 09:57:40 +07:00
wxiaoguang dafadf0028
Refactor fixture loading for testing (#33024)
To help binary size and testing performance
2024-12-30 04:06:57 +07:00