21 lines
344 B
CUE
21 lines
344 B
CUE
|
package testing
|
||
|
|
||
|
import (
|
||
|
"alpha.dagger.io/europa/dagger/engine"
|
||
|
)
|
||
|
|
||
|
engine.#Plan & {
|
||
|
inputs: directories: testdata: path: "./testdata"
|
||
|
|
||
|
actions: {
|
||
|
build: engine.#Build & {
|
||
|
source: inputs.directories.testdata.contents
|
||
|
}
|
||
|
|
||
|
verify: engine.#Exec & {
|
||
|
input: build.output
|
||
|
args: ["sh", "-c", "test $(cat /dir/foo) = foobar"]
|
||
|
}
|
||
|
}
|
||
|
}
|