1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

updates for tests

This commit is contained in:
Casey Lee 2020-02-21 22:19:59 -08:00
parent 63d10ccd96
commit a3af4d491b
3 changed files with 7 additions and 5 deletions

View file

@ -57,13 +57,13 @@ func TestRunEvent(t *testing.T) {
table := table
t.Run(table.workflowPath, func(t *testing.T) {
platforms := map[string]string{
"ubuntu-latest": "ubuntu:18.04",
"ubuntu-latest": "node:12.6-buster-slim",
}
runnerConfig := &Config{
Workdir: "testdata",
EventName: table.eventName,
Platforms: platforms,
ReuseContainers: true,
ReuseContainers: false,
}
runner, err := New(runnerConfig)
assert.NilError(t, err, table.workflowPath)