Enable race testing in validation
This commit is contained in:
@@ -48,8 +48,9 @@ type PublicationResult struct {
|
||||
State PublicationState // publication outcome for this invocation
|
||||
}
|
||||
|
||||
// Publish always runs the offline Go test suite for the captured candidate,
|
||||
// then calls AdditionalChecks when supplied. It optionally builds selected
|
||||
// Publish always runs one offline Go test suite for the captured candidate;
|
||||
// Validation.Go.Race enables the race detector for that suite. It then calls
|
||||
// AdditionalChecks when supplied. It optionally builds selected
|
||||
// targets in temporary storage outside the worktree and pushes the exact
|
||||
// annotated tag object to the selected remote. It returns a result with errors: preflight
|
||||
// failures are not_attempted, failed authoritative guards are conflict, and
|
||||
@@ -65,6 +66,7 @@ func Publish(ctx context.Context, request ReleaseRequest) (PublicationResult, er
|
||||
Product: candidateInput.Product,
|
||||
Version: candidateInput.Version,
|
||||
Remote: request.Remote,
|
||||
Validation: candidateInput.Validation,
|
||||
AdditionalChecks: candidateInput.AdditionalChecks,
|
||||
AfterValidate: candidateInput.AfterValidate,
|
||||
Output: candidateInput.Output,
|
||||
|
||||
Reference in New Issue
Block a user