Skip to content

Commit 32580b0

Browse files
Update test-install.yml
1 parent 8340ec7 commit 32580b0

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

.github/workflows/test-install.yml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ on:
1616
- 'design/**'
1717

1818
jobs:
19-
test_puppeteer_pdf_ubuntu_latest:
20-
name: run puppeteer pdf test on ubuntu latest
21-
runs-on: ubuntu-latest
19+
test_puppeteer_pdf:
20+
name: Run puppeteer pdf test on ${{ matrix.os }}
21+
runs-on: ${{ matrix.os }}
22+
strategy:
23+
matrix:
24+
os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04, debian-latest, debian-12, debian-11]
2225
steps:
2326
- name: Set environment variable
2427
run: echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV
@@ -30,16 +33,17 @@ jobs:
3033
env:
3134
RUNNING_ON_GITHUB_ACTIONS: ${{ env.RUNNING_ON_GITHUB }}
3235

33-
test_ubuntu_latest:
34-
name: test build on ubuntu latest
35-
runs-on: ubuntu-latest
36-
steps:
37-
- name: Set environment variable
38-
run: echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV
39-
40-
- uses: actions/checkout@v3
41-
42-
- name: do test install in case of merged pull request
43-
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K
44-
env:
45-
RUNNING_ON_GITHUB_ACTIONS: ${{ env.RUNNING_ON_GITHUB }}
36+
#test_ubuntu_latest:
37+
# name: test build on ${{ matrix.os }}
38+
#runs-on: ubuntu-latest
39+
#strategy:
40+
# matrix:
41+
# os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04, debian-latest, debian-12, debian-11]
42+
#steps:
43+
#- name: Set environment variable
44+
# run: echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV
45+
#- uses: actions/checkout@v4
46+
#- name: do test install in case of merged pull request
47+
# run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K
48+
# env:
49+
# RUNNING_ON_GITHUB_ACTIONS: ${{ env.RUNNING_ON_GITHUB }}

0 commit comments

Comments
 (0)