1
0
Fork 0
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:
Stan Wohlwend 2020-06-18 17:21:55 +02:00 committed by GitHub
parent 555cdcebbb
commit f84aa60a04
4 changed files with 33 additions and 10 deletions

View file

@ -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 "},