A Dagu workflow and its tests, run by GitHub Actions on every pull request.
workflows/sales.yamlfetches today's orders, writes a one-line summary, and posts it to a webhook.workflows/sales.test.yamlruns the summary step for real and mocks the other steps..github/workflows/dagu-test.yamlruns the tests and shows each case on the pull request.
Run the tests locally:
dagu test workflows/See Workflow Tests for how tests work.