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