Skip to content

Commit e6ea2ee

Browse files
.
1 parent 5f6ef11 commit e6ea2ee

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/test-install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- name: set env
2626
run: |
27-
echo "Running on github actions? $GITHUB_ACTIONS "
27+
echo "Running on github actions? $GITHUB_ACTIONS" >> $RUNNING_ON_GITHUB_ACTIONS
2828
- uses: actions/checkout@v4
2929
- name: do test install in case of merged pull request
3030
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ public async Task GeneratePdf()
2525
ClassicAssert.IsTrue(isValidHtml);
2626

2727
string? isGitHubActions = Environment.GetEnvironmentVariable("GITHUB_ACTIONS");
28+
string? isGitHubActions2 = Environment.GetEnvironmentVariable("RUNNING_ON_GITHUB_ACTIONS");
2829

2930
Log.WriteInfo("Test Log", $"Running in github actions? {isGitHubActions}");
31+
Log.WriteInfo("Test Log", $"Running in github actions2? {isGitHubActions2}");
3032

3133
if (!string.IsNullOrEmpty(isGitHubActions))
3234
{

0 commit comments

Comments
 (0)