Skip to content

Commit

Permalink
debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pnordahl committed Nov 14, 2024
1 parent 5e0b8bb commit 7df812c
Showing 1 changed file with 110 additions and 1 deletion.
111 changes: 110 additions & 1 deletion src/app/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ mod tests {
}

#[tokio::test]
async fn test_handle_run() {
async fn test_handle_run1() {
let td = new_testdir().unwrap();
let work_path = &td.path();
let c = new_test_repo(work_path).await;
Expand All @@ -1155,6 +1155,115 @@ mod tests {
vec![],
);

let o = handle_run(&c, &input, "x", work_path).await.unwrap();
dbg!(&o);
}
#[tokio::test]
async fn test_handle_run1() {

Check failure on line 1162 in src/app/run.rs

View workflow job for this annotation

GitHub Actions / monorail

the name `test_handle_run1` is defined multiple times
let td = new_testdir().unwrap();
let work_path = &td.path();
let c = new_test_repo(work_path).await;
let command = "cmd0".to_string();
let target = "target2".to_string();
let input = setup_handle_run_input(
vec![&command],
HashSet::from([&target]),
vec![],
vec![],
vec![],
);

let o = handle_run(&c, &input, "x", work_path).await.unwrap();
dbg!(&o);
}
#[tokio::test]
async fn test_handle_run1() {

Check failure on line 1180 in src/app/run.rs

View workflow job for this annotation

GitHub Actions / monorail

the name `test_handle_run1` is defined multiple times
let td = new_testdir().unwrap();
let work_path = &td.path();
let c = new_test_repo(work_path).await;
let command = "cmd0".to_string();
let target = "target3".to_string();
let input = setup_handle_run_input(
vec![&command],
HashSet::from([&target]),
vec![],
vec![],
vec![],
);

let o = handle_run(&c, &input, "x", work_path).await.unwrap();
dbg!(&o);
}
#[tokio::test]
async fn test_handle_run1() {

Check failure on line 1198 in src/app/run.rs

View workflow job for this annotation

GitHub Actions / monorail

the name `test_handle_run1` is defined multiple times
let td = new_testdir().unwrap();
let work_path = &td.path();
let c = new_test_repo(work_path).await;
let command = "cmd0".to_string();
let target = "target4".to_string();
let input = setup_handle_run_input(
vec![&command],
HashSet::from([&target]),
vec![],
vec![],
vec![],
);

let o = handle_run(&c, &input, "x", work_path).await.unwrap();
dbg!(&o);
}
#[tokio::test]
async fn test_handle_run1() {

Check failure on line 1216 in src/app/run.rs

View workflow job for this annotation

GitHub Actions / monorail

the name `test_handle_run1` is defined multiple times
let td = new_testdir().unwrap();
let work_path = &td.path();
let c = new_test_repo(work_path).await;
let command = "cmd0".to_string();
let target = "target5".to_string();
let input = setup_handle_run_input(
vec![&command],
HashSet::from([&target]),
vec![],
vec![],
vec![],
);

let o = handle_run(&c, &input, "x", work_path).await.unwrap();
dbg!(&o);
}
#[tokio::test]
async fn test_handle_run1() {

Check failure on line 1234 in src/app/run.rs

View workflow job for this annotation

GitHub Actions / monorail

the name `test_handle_run1` is defined multiple times
let td = new_testdir().unwrap();
let work_path = &td.path();
let c = new_test_repo(work_path).await;
let command = "cmd0".to_string();
let target = "target6".to_string();
let input = setup_handle_run_input(
vec![&command],
HashSet::from([&target]),
vec![],
vec![],
vec![],
);

let o = handle_run(&c, &input, "x", work_path).await.unwrap();
dbg!(&o);
}

#[tokio::test]
async fn test_handle_run() {
let td = new_testdir().unwrap();
let work_path = &td.path();
let c = new_test_repo(work_path).await;
let command = "cmd0".to_string();
let target = "target3".to_string();
let input = setup_handle_run_input(
vec![&command],
HashSet::from([&target]),
vec![],
vec![],
vec![],
);

let o = handle_run(&c, &input, "x", work_path).await.unwrap();
dbg!(&o);
assert!(!o.failed);
Expand Down

0 comments on commit 7df812c

Please sign in to comment.