Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit 763ded6

Browse files
committed
pdk validate and test on all major puppet version
1 parent 8048a5f commit 763ded6

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/pdk-test-unit.yml

+10-8
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,24 @@ on:
66

77
jobs:
88
validating:
9-
runs-on: self-hosted-novum
9+
runs-on: [self-hosted, linux]
10+
strategy:
11+
matrix:
12+
puppet-version: [5, 6, 7]
1013
steps:
1114
- name: Clone repository
1215
uses: actions/checkout@v2
1316

1417
- name: Run pdk validate
1518
uses: puppets-epic-show-theatre/action-pdk-validate@v1
1619
with:
17-
# [optional]
18-
# A string indicating the Puppet version to validate against, such as "5.4.2" or "5.5".
19-
puppet-version: "5.5"
20+
puppet-version: ${{ matrix.puppet-version }}
2021

2122
testing:
22-
runs-on: self-hosted-novum
23+
runs-on: [self-hosted, linux]
24+
strategy:
25+
matrix:
26+
puppet-version: [5, 6, 7]
2327
if: always()
2428
needs:
2529
- validating
@@ -31,6 +35,4 @@ jobs:
3135
uses: puppets-epic-show-theatre/action-pdk-test-unit@v1
3236
# added because there are open ended dependencies version requirements in metadata.json
3337
with:
34-
# [optional]
35-
# A string indicating the Puppet version to validate against, such as "5.4.2" or "5.5".
36-
puppet-version: "5.5"
38+
puppet-version: ${{ matrix.puppet-version }}

0 commit comments

Comments
 (0)