Add extra test for event detection

This commit is contained in:
Dan Sosedoff 2019-02-15 10:44:36 -06:00
parent 96065fe807
commit ff2c631d40
2 changed files with 10 additions and 0 deletions

View File

@ -24,6 +24,7 @@ func TestRunEvent(t *testing.T) {
{"regex.workflow", "push", "exit with `NEUTRAL`: 78"},
{"gitref.workflow", "push", ""},
{"env.workflow", "push", ""},
{"detect_event.workflow", "", ""},
}
log.SetLevel(log.DebugLevel)

View File

@ -0,0 +1,9 @@
workflow "detect-event" {
on = "pull_request"
resolves = ["build"]
}
action "build" {
uses = "./action1"
args = "echo 'build'"
}