(t *testing.T)
| 257 | } |
| 258 | |
| 259 | func TestVars(t *testing.T) { |
| 260 | t.Parallel() |
| 261 | NewExecutorTest(t, |
| 262 | WithExecutorOptions( |
| 263 | task.WithDir("testdata/vars"), |
| 264 | task.WithSilent(true), |
| 265 | ), |
| 266 | ) |
| 267 | NewExecutorTest(t, |
| 268 | WithName("cli-var-priority-default"), |
| 269 | WithExecutorOptions( |
| 270 | task.WithDir("testdata/vars"), |
| 271 | task.WithSilent(true), |
| 272 | ), |
| 273 | WithTask("cli-var-priority"), |
| 274 | ) |
| 275 | NewExecutorTest(t, |
| 276 | WithName("cli-var-priority-override"), |
| 277 | WithExecutorOptions( |
| 278 | task.WithDir("testdata/vars"), |
| 279 | task.WithSilent(true), |
| 280 | ), |
| 281 | WithTask("cli-var-priority"), |
| 282 | WithVar("CLI_VAR", "from_cli"), |
| 283 | ) |
| 284 | } |
| 285 | |
| 286 | func TestSecretVars(t *testing.T) { |
| 287 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…