Skip to content

Commit ee44828

Browse files
[~] Skip PDF Test on ansible install
1 parent e41015c commit ee44828

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ public async Task GeneratePdf()
2323

2424
string? isGitHubActions = Environment.GetEnvironmentVariable("RUNNING_ON_GITHUB_ACTIONS");
2525

26+
if(isGitHubActions == "1")
27+
{
28+
return;
29+
}
2630

2731
if (File.Exists(FilePath))
2832
File.Delete(FilePath);

0 commit comments

Comments
 (0)