go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
43.1k stars 5.31k forks source link

Unit testing on macOS invokes keychain #26717

Open harryzcy opened 10 months ago

harryzcy commented 10 months ago

Description

Running test-sqlite on macOS causes keychain prompt to show up.

Screenshot 2023-08-24 at 4 07 48 PM

Gitea Version

main branch

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

TAGS="sqlite sqlite_unlock_notify" make build test-sqlite

Database

None

KN4CK3R commented 10 months ago

Same on WSL because git uses the agent to request credentials.

wolfogre commented 10 months ago

I am also troubled by this issue, and I would appreciate it if someone could solve it.

wxiaoguang commented 10 months ago

Which test triggers it?