Skip to content

Commit

Permalink
report version as "missing" if it is missing instead of omitting it f…
Browse files Browse the repository at this point in the history
…or alignment. (#174)

Co-authored-by: Lilith Hafner <[email protected]>
  • Loading branch information
LilithHafner and Lilith Hafner authored Aug 9, 2023
1 parent 0afe366 commit a429227
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/jobs/PkgEvalJob.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1096,11 +1096,13 @@ function printreport(io::IO, job::PkgEvalJob, results)
# "against" entries are suffixed with `_1` because of the join
if test.source == "both"
# PkgEval always compares the same package versions, so only report it once
print(io, "| $(test.package) |")
print(io, "| $(test.package) | ")
if test.version !== missing
print(io, "v$(test.version) | ")
elseif test.source == "both" && test.version_1 !== missing
elseif test.version_1 !== missing
print(io, "v$(test.version_1) | ")
else
print(io, "missing | ")
end

print(io, "[$primary_status]($primary_log) | ")
Expand Down

0 comments on commit a429227

Please sign in to comment.