bel 2024-04-13 14:02:41 -06:00
parent a5f332b991
commit bf34835305
2 changed files with 4 additions and 1 deletions

View File

@ -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>

View File

@ -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)
} }