Skip to content

Commit

Permalink
feature(test): always write to summary_latest.md for easy uploading f…
Browse files Browse the repository at this point in the history
…rom GHA
  • Loading branch information
lukemarsden committed Oct 24, 2024
1 parent edb109d commit 7bf64b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/cmd/helix/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,10 @@ func writeResultsToFile(results []TestResult, totalTime time.Duration, helixYaml
if err != nil {
return fmt.Errorf("error writing summary to markdown file: %v", err)
}
err = os.WriteFile("summary_latest.md", []byte(summaryContent), 0644)
if err != nil {
return fmt.Errorf("error writing summary to markdown file: %v", err)
}

// Create a client for uploading
apiClient, err := client.NewClientFromEnv()
Expand Down

0 comments on commit 7bf64b0

Please sign in to comment.