Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use super::{parsing, validate};
///
/// If using this struct as a [`streaming::Executor`], consider using the
/// [`super::WithData`] adaptor to provide dataset and query matrices.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct RunBook {
// The individual runbook stages.
stages: Vec<Stage>,
Expand Down Expand Up @@ -470,6 +470,8 @@ mod tests {
// Runbook //
//---------//

fn _assert_is_clone<T: Clone>(_x: &T) {}

struct MockStream {
stages: Vec<Stage>,
current_stage: usize,
Expand Down Expand Up @@ -661,6 +663,7 @@ test_dataset:
// Load the runbook
let mut groundtruth_finder = ScanDirectory::new(temp_dir.path()).unwrap();
let runbook = RunBook::load(&yaml_path, "test_dataset", &mut groundtruth_finder).unwrap();
_assert_is_clone(&runbook);

// Verify the runbook was loaded correctly
assert_eq!(runbook.len(), 8);
Expand Down
Loading