mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-06 17:40: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
|
@ -83,7 +83,6 @@ func TestEvaluate(t *testing.T) {
|
|||
{"matrix.os", "Linux", ""},
|
||||
{"matrix.foo", "bar", ""},
|
||||
{"env.key", "value", ""},
|
||||
|
||||
}
|
||||
|
||||
for _, table := range tables {
|
||||
|
@ -121,8 +120,8 @@ func TestInterpolate(t *testing.T) {
|
|||
},
|
||||
}
|
||||
ee := rc.NewExpressionEvaluator()
|
||||
tables := []struct{
|
||||
in string
|
||||
tables := []struct {
|
||||
in string
|
||||
out string
|
||||
}{
|
||||
{" ${{1}} to ${{2}} ", " 1 to 2 "},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue