Add extra test for event detection

Esse commit está contido em:
Dan Sosedoff
2019-02-15 10:44:36 -06:00
commit ff2c631d40
2 arquivos alterados com 10 adições e 0 exclusões

Ver Arquivo

@@ -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)

9
actions/testdata/detect_event.workflow externo Arquivo normal
Ver Arquivo

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