mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-18 07:30:29 +00:00
test(release): isolate local podcast fixtures from CI context
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
82eea674a5
commit
d315c2fe0b
@ -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())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user