Skip to content

Commit 88cec2d

Browse files
Merge branch 'puppeteer' of https://github.com/SolidProgramming/firewall-orchestrator into puppeteer
2 parents c063d3c + f2cc57e commit 88cec2d

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

.github/workflows/test-install.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,34 @@
22
name: Build
33

44
on:
5+
workflow_dispatch:
6+
57
push:
68
paths-ignore:
79
- 'documentation/**'
810
- 'design/**'
911

1012
pull_request:
11-
types: [ ready_for_review, review_requested ]
13+
types: [ ready_for_review, review_requested, sad ]
1214
paths-ignore:
1315
- 'documentation/**'
1416
- 'design/**'
15-
17+
1618
jobs:
17-
run_dotnet_test:
18-
name: run dotnet test
19+
test_puppeteer_pdf_ubuntu_latest:
20+
name: run puppeteer pdf test on ubuntu latest
1921
runs-on: ubuntu-latest
2022
steps:
21-
- uses: actions/checkout@v3
22-
23+
- uses: actions/checkout@v4
24+
- name: Set environment variable
25+
run: echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV
26+
- name: Setup dotnet
27+
uses: actions/setup-dotnet@v4
2328
- name: exec dotnet test
24-
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/tests-unit/files/FWO.Test && dotnet test --filter "Name=HtmlToPdfTest"
25-
29+
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/tests-unit/files/FWO.Test && dotnet restore && dotnet build && dotnet test --filter "Name=HtmlToPdfTest"
30+
env:
31+
RUNNING_ON_GITHUB_ACTIONS: ${{ env.RUNNING_ON_GITHUB }}
32+
2633
test_ubuntu_latest:
2734
name: test build on ubuntu latest
2835
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)