Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-timothy-albert committed Feb 19, 2025
1 parent 0c4540d commit 793aa96
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/actions/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ func Test(ctx context.Context) error {
}

var genLockID string
fmt.Println("LOOKING FOR GEN LOCK ID")
if cfg.LockFile != nil {
genLockID = cfg.LockFile.ID
fmt.Println("GEN LOCK ID FOUND: ", genLockID)
}

outDir, err := filepath.Abs(filepath.Dir(cfgDir))
Expand All @@ -79,6 +81,8 @@ func Test(ctx context.Context) error {
}
// If there are multiple SDKs in a workflow we ensure output path is unique
if targetOutput == outDir && !slices.Contains(testedTargets, name) {
fmt.Println("TARGET FOUND: ", name)
fmt.Println(genLockID)
targetLockIDs[name] = genLockID
testedTargets = append(testedTargets, name)
}
Expand All @@ -101,7 +105,7 @@ func Test(ctx context.Context) error {
errs = append(errs, err)
}

var testReportURL string
testReportURL := "placeholder"
if genLockID, ok := targetLockIDs[target]; ok && genLockID != "" {
testReportURL = formatTestReportURL(ctx, genLockID)
} else {
Expand Down

0 comments on commit 793aa96

Please sign in to comment.