File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,17 @@ jobs:
2222 env :
2323 RUNNING_ON_GITHUB_ACTIONS : true
2424 steps :
25- - name : install packages
26- run : |
27- sudo apt update && sudo apt upgrade -y
28- sudo apt-get install ansible
25+ - uses : actions/checkout@v4
26+ - uses : actions/setup-dotnet@v4
2927 - name : verify ansible version
3028 run : cd /home/actions-runner/_work/firewall-orchestrator/firewall-orchestrator/scripts && install-ansible-from-venv.sh
29+ - name : do test install in case of merged pull request
30+ run : cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K
31+ - name : Running in GitHub actions requires testing puppeteer pdf creation separately
32+ if : ${{ env.RUNNING_ON_GITHUB_ACTIONS }} == true
33+ run : cd /home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/tests-unit/files/FWO.Test && dotnet restore && dotnet build && dotnet test --filter "Name=HtmlToPdfTest"
34+
35+
3136 test_install :
3237 name : test build on ${{ matrix.os }}
3338 runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments