Skip to content

Commit ac09057

Browse files
.
1 parent 13907c6 commit ac09057

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

roles/tests-unit/files/FWO.Test/HtmlToPdfTest.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ public async Task GeneratePdf()
2020
bool isValidHtml = ReportBase.IsValidHTML(GlobalConst.TestPDFHtmlTemplate);
2121
ClassicAssert.IsTrue(isValidHtml);
2222

23+
foreach(System.Collections.DictionaryEntry entry in Environment.GetEnvironmentVariables())
24+
{
25+
Log.WriteWarning("Test Log", $"{entry.Key} = {entry.Value}");
26+
}
27+
28+
string? githubActions = Environment.GetEnvironmentVariable("RUNNING_ON_GITHUB_ACTIONS");
29+
Log.WriteInfo("Test Log", $"{nameof(githubActions)} = {githubActions}");
30+
2331
string? sudoUser = Environment.GetEnvironmentVariable("SUDO_USER");
2432
string? runnerUser = Environment.GetEnvironmentVariable("RUNNER_USER");
2533

0 commit comments

Comments
 (0)