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

Function test_detect

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

Source from the content-addressed store, hash-verified

398
399 #[test]
400 fn test_detect() {
401 with_var("GITHUB_ACTIONS", Some("true"), || {
402 assert!(GitHubActionsProvider::detect());
403 });
404 }
405
406 #[test]
407 fn test_get_owner_and_repository() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected