File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
roles/tests-unit/files/FWO.Test Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1313 paths-ignore :
1414 - ' documentation/**'
1515 - ' design/**'
16-
17- env :
18- RUNNING_ON_GITHUB_ACTIONS : ${{ env.RUNNING_ON_GITHUB }}
16+
1917
2018jobs :
2119 test_install :
3028 run : echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV
3129 - name : do test install in case of merged pull request
3230 run : cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K
31+ env :
32+ RUNNING_ON_GITHUB_ACTIONS : ${{ env.RUNNING_ON_GITHUB }}
3333 - name : switch to fworch user for c# unit tests
3434 run : sudo su -l fworch && cd ~/test/csharp/FWO.Test && dotnet test
Original file line number Diff line number Diff line change @@ -26,9 +26,11 @@ public async Task GeneratePdf()
2626
2727 string ? isGitHubActions = Environment . GetEnvironmentVariable ( "GITHUB_ACTIONS" ) ;
2828 string ? isGitHubActions2 = Environment . GetEnvironmentVariable ( "RUNNING_ON_GITHUB_ACTIONS" ) ;
29+ string ? isGitHubActions3 = Environment . GetEnvironmentVariable ( "RUNNING_ON_GITHUB" ) ;
2930
3031 Log . WriteInfo ( "Test Log" , $ "GITHUB_ACTIONS? { isGitHubActions } ") ;
3132 Log . WriteInfo ( "Test Log" , $ "RUNNING_ON_GITHUB_ACTIONS? { isGitHubActions2 } ") ;
33+ Log . WriteInfo ( "Test Log" , $ "RUNNING_ON_GITHUB? { isGitHubActions2 } ") ;
3234
3335 if ( ! string . IsNullOrEmpty ( isGitHubActions ) )
3436 {
You can’t perform that action at this time.
0 commit comments