(#[case] cmd: &str)
| 423 | #[apply(test_cases)] |
| 424 | #[test_log::test(tokio::test)] |
| 425 | async fn test_memory_executor(#[case] cmd: &str) { |
| 426 | let (_permit, _lock, mut executor) = get_memory_executor().await; |
| 427 | |
| 428 | // Unset GITHUB_ACTIONS to force LocalProvider which supports repository_override |
| 429 | temp_env::async_with_vars(&[("GITHUB_ACTIONS", None::<&str>)], async { |
| 430 | let config = memory_config(cmd); |
| 431 | let (execution_context, _temp_dir) = create_test_setup(config).await; |
| 432 | executor.run(&execution_context, &None).await.unwrap(); |
| 433 | }) |
| 434 | .await; |
| 435 | } |
| 436 | |
| 437 | #[apply(env_test_cases)] |
| 438 | #[test_log::test(tokio::test)] |
nothing calls this directly
no test coverage detected