Skip to content

Commit 084a4e6

Browse files
Update test-install.yml
1 parent 676a97c commit 084a4e6

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

.github/workflows/test-install.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,15 @@ on:
1515
- 'design/**'
1616

1717

18-
jobs:
19-
test_install_selfhosted:
20-
name: test build on selfhosted
21-
runs-on: self-hosted
22-
env:
23-
RUNNING_ON_GITHUB_ACTIONS: true
24-
steps:
25-
- uses: actions/checkout@v4
26-
- uses: actions/setup-dotnet@v4
27-
- name: verify ansible version
28-
run: bash && cd /home/github/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/github/actions-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/github/actions-runner/_work/firewall-orchestrator/firewall-orchestrator/roles/tests-unit/files/FWO.Test && dotnet restore && dotnet build && dotnet test --filter "Name=HtmlToPdfTest"
34-
35-
18+
jobs:
3619
test_install:
3720
name: test build on ${{ matrix.os }}
3821
runs-on: ${{ matrix.os }}
3922
env:
4023
RUNNING_ON_GITHUB_ACTIONS: true
4124
strategy:
4225
matrix:
43-
os: [ubuntu-latest, ubuntu-22.04]
26+
os: [ubuntu-latest, ubuntu-22.04, self-hosted]
4427
steps:
4528
- uses: actions/checkout@v4
4629
- uses: actions/setup-dotnet@v4

0 commit comments

Comments
 (0)