mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
ci tests
Signed-off-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
parent
a846112993
commit
2818130313
7 changed files with 48 additions and 18 deletions
|
@ -87,7 +87,13 @@ func NewParallelExecutor(executors ...Executor) Executor {
|
|||
errChan := make(chan error)
|
||||
|
||||
for _, executor := range executors {
|
||||
go executor.ChannelError(errChan)(ctx)
|
||||
e := executor
|
||||
go func() {
|
||||
err := e.ChannelError(errChan)(ctx)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
||||
for i := 0; i < len(executors); i++ {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue