We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c24268c commit 6e1761fCopy full SHA for 6e1761f
runner/engine_test.go
@@ -220,6 +220,7 @@ func TestRunPreCmd(t *testing.T) {
220
if err != nil {
221
t.Fatalf("Should not be fail: %s.", err)
222
}
223
+ engine.config.Build.PreCmd = []string{"echo 'hello air' > pre_cmd.txt"}
224
err = engine.runPreCmd()
225
226
@@ -245,6 +246,7 @@ func TestRunPostCmd(t *testing.T) {
245
246
247
248
249
+ engine.config.Build.PostCmd = []string{"echo 'hello air' > post_cmd.txt"}
250
err = engine.runPostCmd()
251
252
0 commit comments