main
parent
a5f332b991
commit
bf34835305
|
|
@ -5,7 +5,7 @@
|
|||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
|
||||
</header>
|
||||
<body>
|
||||
<h1>Since {{ .since }}</h1>
|
||||
<h1>Report</h1>
|
||||
</body>
|
||||
<footer>
|
||||
</footer>
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ func TestReport(t *testing.T) {
|
|||
}
|
||||
|
||||
p := path.Join(os.TempDir(), "test_report.html")
|
||||
if env := os.Getenv("TEST_REPORT_PATH"); env != "" {
|
||||
p = env
|
||||
}
|
||||
os.WriteFile(p, w.Bytes(), os.ModePerm)
|
||||
t.Log(p)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue