acts-next 0.14.4

a fast, tiny, extensiable workflow engine
Documentation
use crate::Workflow;

#[test]
fn model_step_yml_acts() {
    let text = r#"
    name: workflow
    id: m1
    steps:
        - id: act1
          acts:
            - !set
              a: 5
            - !req
              id: act1
              inputs:
                b: ${ $("5") }
    "#;
    let m = Workflow::from_yml(text).unwrap();
    let step = m.steps.first().unwrap();
    assert_eq!(step.acts.len(), 2);
}