Skip to content

Commit ce96526

Browse files
.
1 parent 6b4a1af commit ce96526

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/test-install.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ jobs:
1919
test_puppeteer_pdf:
2020
name: Puppeteer test on ${{ matrix.os }}
2121
runs-on: ${{ matrix.os }}
22+
env:
23+
RUNNING_ON_GITHUB_ACTIONS: 'true'
2224
strategy:
2325
matrix:
2426
os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04]
2527
steps:
26-
- name: Set environment variable
27-
run: echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV
2828
- uses: actions/checkout@v4
2929
- name: Setup dotnet
3030
uses: actions/setup-dotnet@v4
3131
- name: exec dotnet test
3232
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/tests-unit/files/FWO.Test && dotnet restore && dotnet build && dotnet test --filter "Name=HtmlToPdfTest"
33-
env:
34-
RUNNING_ON_GITHUB_ACTIONS: ${{ env.RUNNING_ON_GITHUB }}
3533

3634
test_ubuntu_latest:
3735
name: test build on ${{ matrix.os }}
3836
runs-on: ${{ matrix.os }}
37+
env:
38+
RUNNING_ON_GITHUB_ACTIONS: 'true'
3939
strategy:
4040
matrix:
4141
os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04]
@@ -44,6 +44,4 @@ jobs:
4444
run: echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV
4545
- uses: actions/checkout@v4
4646
- name: do test install in case of merged pull request
47-
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K
48-
env:
49-
RUNNING_ON_GITHUB_ACTIONS: ${{ env.RUNNING_ON_GITHUB }}
47+
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K

0 commit comments

Comments
 (0)