It was accidentally removed in: <code>f462706</code>
Showing 1 of 1 files from the diff.
src/BenchmarkCI.jl
changed.
@@ -16,6 +16,11 @@
Loading
16 | 16 | ||
17 | 17 | include("runtimeinfo.jl") |
|
18 | 18 | ||
19 | + | Base.@kwdef struct CIResult |
|
20 | + | judgement::BenchmarkJudgement |
|
21 | + | title::String = "Benchmark result" |
|
22 | + | end |
|
23 | + | ||
19 | 24 | const DEFAULT_WORKSPACE = ".benchmarkci" |
|
20 | 25 | ||
21 | 26 | is_in_ci(ENV = ENV) = |
@@ -111,7 +116,7 @@
Loading
111 | 116 | function postjudge(judgement::BenchmarkJudgement; title = "Benchmark result") |
|
112 | 117 | event_path = get(ENV, "GITHUB_EVENT_PATH", nothing) |
|
113 | 118 | if event_path !== nothing |
|
114 | - | post_judge_github(event_path, (judgement = judgement, title = title)) |
|
119 | + | post_judge_github(event_path, CIResult(judgement = judgement, title = title)) |
|
115 | 120 | return |
|
116 | 121 | end |
|
117 | 122 | displayjudgement(judgement) |
@@ -212,7 +217,7 @@
Loading
212 | 217 | ||
213 | 218 | function displayjudgement(judgement::BenchmarkJudgement) |
|
214 | 219 | io = IOBuffer() |
|
215 | - | printresultmd(io, (judgement = judgement, title = "Benchmark result")) |
|
220 | + | printresultmd(io, CIResult(judgement = judgement)) |
|
216 | 221 | seekstart(io) |
|
217 | 222 | display(Markdown.parse(io)) |
|
218 | 223 | end |
Files | Coverage |
---|---|
src | 66.67% |
Project Totals (2 files) | 66.67% |
Untitled
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.