File tree Expand file tree Collapse file tree 1 file changed +14
-17
lines changed Expand file tree Collapse file tree 1 file changed +14
-17
lines changed Original file line number Diff line number Diff line change 1515 - ' documentation/**'
1616 - ' design/**'
1717
18- jobs :
19- test_puppeteer_pdf_ubuntu_latest :
20- name : run puppeteer pdf test on ubuntu latest
21- runs-on : ubuntu-latest
22- steps :
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
28- - name : alter sandbox permission for chrome
29- run : cd /usr/local/bin/ && sudo chmod -R 755 Chrome && sudo chmod -R ChromeHeadlessShell
30- - name : exec dotnet test
31- run : cd /home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/tests-unit/files/FWO.Test && dotnet restore && dotnet build && dotnet test --filter "Name=HtmlToPdfTest"
32- env :
33- RUNNING_ON_GITHUB_ACTIONS : ${{ env.RUNNING_ON_GITHUB }}
34-
18+ jobs :
3519 test_ubuntu_latest :
3620 name : test build on ubuntu latest
3721 runs-on : ubuntu-latest
4529 run : cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K
4630 env :
4731 RUNNING_ON_GITHUB_ACTIONS : ${{ env.RUNNING_ON_GITHUB }}
32+
33+ - name : alter sandbox permission for chrome
34+ run : cd /usr/local/bin/Chrome/Linux-133.0.6943.53/chrome-linux64/ && sudo chown root:root chrome_sandbox && sudo chmod 4755 chrome_sandbox
35+
36+ - name : alter sandbox permission for chromeheadlessshell
37+ run : cd /usr/local/bin/ChromeHeadlessShell/Linux-133.0.6943.53/chrome-headless-shell-linux64/ && sudo chown root:root chrome_sandbox && sudo chmod 4755 chrome_sandbox
38+
39+ - name : Setup dotnet
40+ uses : actions/setup-dotnet@v4
41+ - name : exec dotnet test
42+ run : cd /home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/tests-unit/files/FWO.Test && dotnet restore && dotnet build && dotnet test --filter "Name=HtmlToPdfTest"
43+ env :
44+ RUNNING_ON_GITHUB_ACTIONS : ${{ env.RUNNING_ON_GITHUB }}
You can’t perform that action at this time.
0 commit comments