Skip to content

Commit

Permalink
[ci] shrink build report
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin committed Aug 20, 2024
1 parent ab497d3 commit bf5ec5d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions script/ci/src/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,7 @@ object Main:
.filter(path => os.read(path).trim() != "0")
.map(path => {
val caseName = path.segments.toSeq.reverse.drop(1).head
val journal = os.read(path / os.up / "offline-check-journal")
os.write.append(failedTestsFile, s"* ${config} - ${caseName}\n")
os.write.append(failedTestsFile, s"```text\n${journal}\n```\n")
os.write.append(failedTestsFile, s"* ${config} - ${caseName}: `nix build .#t1.$config.ip.$emuType-emu.cases.$caseName.emu-result -L`\n")
})

if cycleUpdateFilePath.nonEmpty then
Expand Down

0 comments on commit bf5ec5d

Please sign in to comment.