MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / test_detect

Function test_detect

src/run_environment/github_actions/provider.rs:409–413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

407
408 #[test]
409 fn test_detect() {
410 with_var("GITHUB_ACTIONS", Some("true"), || {
411 assert!(GitHubActionsProvider::detect());
412 });
413 }
414
415 #[test]
416 fn test_get_owner_and_repository() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected