Skip to content

Commit e41015c

Browse files
[~] Run test after install
1 parent 110ba87 commit e41015c

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

.github/workflows/test-install.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,16 @@ 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-
- 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 }}
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 }}
3529

3630
test_ubuntu_latest:
3731
name: test build on ${{ matrix.os }}
@@ -47,3 +41,10 @@ jobs:
4741
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K
4842
env:
4943
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)