Skip to content

Commit

Permalink
Add legend for PkgEval history plots (#176)
Browse files Browse the repository at this point in the history
Co-authored-by: Lilith Hafner <[email protected]>
  • Loading branch information
LilithHafner and Lilith Hafner authored Aug 9, 2023
1 parent 4d82131 commit cee3e9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/jobs/PkgEvalJob.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1061,6 +1061,10 @@ function printreport(io::IO, job::PkgEvalJob, results)
package_results))
end

# Provide a legend to interpret history plots
legend_entries = (('' + Int(s)) * '=' * string(s) for s in instances(HistoricalStatus))
println(io, "History Legend: ", join(legend_entries, ", "), ".\n")

# report test results in groups based on the test status
history_heading, history = get_history(submission(job).config)
dependents = package_dependents()
Expand Down

0 comments on commit cee3e9b

Please sign in to comment.