File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,18 @@ jobs:
2020 name : test build on ubuntu latest
2121 runs-on : ubuntu-latest
2222 steps :
23+ - name : Set environment variable
24+ run : echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV
25+
2326 - name : Setup dotnet
2427 uses : actions/setup-dotnet@v4
28+
2529 - name : exec dotnet test
2630 run : cd /home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/tests-unit/files/FWO.Test && dotnet restore && dotnet build && dotnet test --filter "Name=HtmlToPdfTest"
2731 env :
2832 RUNNING_ON_GITHUB_ACTIONS : ${{ env.RUNNING_ON_GITHUB }}
2933
30- - uses : actions/checkout@v3
31-
32- - name : Set environment variable
33- run : echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV
34+ - uses : actions/checkout@v3
3435
3536 - name : do test install in case of merged pull request
3637 run : cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K
You can’t perform that action at this time.
0 commit comments