Disable interactive git credential prompts during tests · Entire

Disable interactive git credential prompts during tests

53d8d24→main·

Soph·3mo ago·1 file·+2 added/-0 removed

Set GIT_TERMINAL_PROMPT=0 so tests that fall through to the system git credential helper fail fast instead of blocking on stdin.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Sessions

71872426c9cdView transcript

Changes

1

9 unmodified lines

10
11
12
13
14
15
16
17
18
19
20
21

9 unmodified lines

[tasks.test]
description = "Run tests"
env = { GIT_TERMINAL_PROMPT = "0" }
run = "go test ./..."

[tasks."test:ci"]
description = "Run all tests with race detection"
env = { GIT_TERMINAL_PROMPT = "0" }
run = "go test -race ./..."

[tasks."test:git-http-backend"]

Mmise.toml+2