test(release): isolate local podcast fixtures from CI context

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2026-10-01 18:50:17 -04:00
parent 82eea674a5
commit d315c2fe0b

View File

@ -87,6 +87,9 @@ func response(status int, ct string, data []byte) *http.Response {
func testEngine(t *testing.T) (*engine, []releaseRecord, []source) {
t.Helper()
// Local fixtures must not inherit the hosting CI runner's Actions context.
// Actions-specific tests establish their own context with actionsEnvironment.
t.Setenv("GITHUB_ACTIONS", "false")
t.Setenv("GH_TOKEN", "")
t.Setenv("OPENAI_API_KEY", "")
e, err := newEngine(t.TempDir())