add tests for various actions

This commit is contained in:
Casey Lee 2019-01-30 23:53:39 -08:00
parent d956aff028
commit 3797a9b42e
33 changed files with 4196 additions and 3 deletions

13
actions/testdata/fail.workflow vendored Normal file
View file

@ -0,0 +1,13 @@
workflow "test" {
on = "push"
resolves = ["test-action"]
}
action "test-action" {
uses = "docker://alpine:3.9"
runs = ["sh", "-c", "echo $IN | grep $OUT"]
env = {
IN = "foo"
OUT = "bar"
}
}