Skip to content

About

A Dagu workflow and its tests, run by GitHub Actions on every pull request

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

dagu-test-example

A Dagu workflow and its tests, run by GitHub Actions on every pull request.

  • workflows/sales.yaml fetches today's orders, writes a one-line summary, and posts it to a webhook.
  • workflows/sales.test.yaml runs the summary step for real and mocks the other steps.
  • .github/workflows/dagu-test.yaml runs the tests and shows each case on the pull request.

Run the tests locally:

dagu test workflows/

See Workflow Tests for how tests work.

About

A Dagu workflow and its tests, run by GitHub Actions on every pull request

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors