feat: add parallel flag (#114)

* add parallel flag
This commit is contained in:
ChristopherHX
2025-06-08 12:41:42 +02:00
committed by GitHub
parent f36df5592d
commit 3293d725a7
5 changed files with 24 additions and 1 deletions

View File

@@ -193,6 +193,7 @@ func (j *TestJobFileInfo) runTest(ctx context.Context, t *testing.T, cfg *Config
ContainerArchitecture: cfg.ContainerArchitecture,
Matrix: cfg.Matrix,
ActionCache: cfg.ActionCache,
Parallel: cfg.Parallel,
}
runner, err := New(runnerConfig)
@@ -338,7 +339,8 @@ func TestRunEvent(t *testing.T) {
for _, table := range tables {
t.Run(table.workflowPath, func(t *testing.T) {
config := &Config{
Secrets: table.secrets,
Secrets: table.secrets,
Parallel: 8,
}
eventFile := filepath.Join(workdir, table.workflowPath, "event.json")