mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
Fix container volumes being reused sometimes (#283)
This commit is contained in:
parent
555cdcebbb
commit
f84aa60a04
4 changed files with 33 additions and 10 deletions
|
@ -16,8 +16,8 @@ func TestRunContext_EvalBool(t *testing.T) {
|
|||
Workdir: ".",
|
||||
},
|
||||
Env: map[string]string{
|
||||
"TRUE": "true",
|
||||
"FALSE": "false",
|
||||
"TRUE": "true",
|
||||
"FALSE": "false",
|
||||
"SOME_TEXT": "text",
|
||||
},
|
||||
Run: &model.Run{
|
||||
|
@ -52,8 +52,8 @@ func TestRunContext_EvalBool(t *testing.T) {
|
|||
rc.ExprEval = rc.NewExpressionEvaluator()
|
||||
|
||||
tables := []struct {
|
||||
in string
|
||||
out bool
|
||||
in string
|
||||
out bool
|
||||
}{
|
||||
// The basic ones
|
||||
{"true", true},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue