We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 839bd96 commit b2ba16aCopy full SHA for b2ba16a
roles/tests-unit/files/FWO.Test/HtmlToPdfTest.cs
@@ -19,6 +19,16 @@ public async Task GeneratePdf()
19
{
20
var isGitHubActions = Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true";
21
22
+ if(Environment.GetEnvironmentVariable("GITHUB_ACTIONS") is null || string.IsNullOrEmpty(Environment.GetEnvironmentVariable("GITHUB_ACTIONS")))
23
+ {
24
+ Log.WriteError("Test Log", "GITHUB_ACTIONS is null or empty!");
25
+ }
26
+
27
+ foreach (DictionaryEntry entry in Environment.GetEnvironmentVariables())
28
29
+ Log.WriteInfo("Test Log", $"Key: {entry.Key}, Value: {entry.Value}");
30
31
32
// the PDF generation with puppeteer is currently not working in GitHub Actions
33
if (!isGitHubActions)
34
0 commit comments