add tests for various actions
This commit is contained in:
13
actions/testdata/fail.workflow
vendored
Normal file
13
actions/testdata/fail.workflow
vendored
Normal 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"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user