Skip to content

Commit 0998fa9

Browse files
Update test-install.yml
1 parent ef09236 commit 0998fa9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/test-install.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)