Skip to content

Commit e404a57

Browse files
[~] Revert test install changes back to normal
1 parent 6233b6e commit e404a57

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

.github/workflows/test-install.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,22 @@ on:
1616
- 'design/**'
1717

1818
jobs:
19-
# test_puppeteer_pdf:
20-
# name: Puppeteer test on ${{ matrix.os }}
21-
# runs-on: ${{ matrix.os }}
22-
# strategy:
23-
# matrix:
24-
# os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04]
25-
# steps:
26-
27-
# env:
28-
# RUNNING_ON_GITHUB_ACTIONS: ${{ env.RUNNING_ON_GITHUB }}
19+
test_puppeteer_pdf:
20+
name: Puppeteer test on ${{ matrix.os }}
21+
runs-on: ${{ matrix.os }}
22+
strategy:
23+
matrix:
24+
os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04]
25+
steps:
26+
- name: Set environment variable
27+
run: echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV
28+
- uses: actions/checkout@v4
29+
- name: Setup dotnet
30+
uses: actions/setup-dotnet@v4
31+
- name: exec dotnet test
32+
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 }}
2935

3036
test_ubuntu_latest:
3137
name: test build on ${{ matrix.os }}
@@ -38,13 +44,6 @@ jobs:
3844
run: echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV
3945
- uses: actions/checkout@v4
4046
- name: do test install in case of merged pull request
41-
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K --skip-tags unittests
47+
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K
4248
env:
4349
RUNNING_ON_GITHUB_ACTIONS: ${{ env.RUNNING_ON_GITHUB }}
44-
- name: Set environment variable
45-
run: echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV
46-
- uses: actions/checkout@v4
47-
- name: Setup dotnet
48-
uses: actions/setup-dotnet@v4
49-
- name: exec dotnet test
50-
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/tests-unit/files/FWO.Test && dotnet restore && dotnet build && dotnet test --filter "Name=HtmlToPdfTest"

0 commit comments

Comments
 (0)