[meta]
    title = "pause/resume test workflow"

# https://github.com/cylc/cylc-flow/pull/843

# See also tests/f/hold-release/00-workflow

[scheduler]
    cycle point format = %Y%m%dT%H

[scheduling]
    initial cycle point = 20140101T00
    final cycle point   = 20140101T00
    [[graph]]
        R1 = "pause_resume => foo & bar"
        T00, T06 = "bar"
[runtime]
    [[pause_resume]]
        script = """
            wait
            cylc pause "${CYLC_WORKFLOW_ID}"
            cylc__job__poll_grep_workflow_log 'Command "pause" actioned'
            cylc play "${CYLC_WORKFLOW_ID}"
        """
    [[foo,bar]]
        script = true
