mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-10 12:14:14 -04:00
test(report): retain Windows PDF for failed release diagnosis
This commit is contained in:
1 parent
a73a85ebc0
commit
986ba3dee1
1 file changed
+5
@@ -37,6 +37,11 @@ public sealed class NestPdfWriterTests : IDisposable
|
||||
public void Write_PdfTextCarriesDocumentLocalIdsQuantitiesAndPageNumbers()
|
||||
{
|
||||
var path = WriteReport(NestReportTestData.CreateNest());
|
||||
if (OperatingSystem.IsWindows() && Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true")
|
||||
{
|
||||
Directory.CreateDirectory("TestResults");
|
||||
File.Copy(path, Path.Combine("TestResults", "pdf-report-text-diagnostic.pdf"), overwrite: true);
|
||||
}
|
||||
var summary = ReportPdf.Text(path, 1);
|
||||
var plate = ReportPdf.Text(path, 2);
|
||||
|
||||
|
||||
Reference in new issue
Block a user