mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
tests: remove runTestJobFile (#1127)
This prevented JetBrains GoLand from recognising subtests and treated it all as single big test, VSCode seems to be still broken in that regard Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
parent
e132806073
commit
84b53075a0
2 changed files with 6 additions and 8 deletions
|
@ -25,7 +25,9 @@ func TestJobExecutor(t *testing.T) {
|
|||
// These tests are sufficient to only check syntax.
|
||||
ctx := common.WithDryrun(context.Background(), true)
|
||||
for _, table := range tables {
|
||||
runTestJobFile(ctx, t, table)
|
||||
t.Run(table.workflowPath, func(t *testing.T) {
|
||||
table.runTest(ctx, t, &Config{})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue