forked from kassisol/puppet-module-hbm
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Github actions to also test Puppet 8
- Loading branch information
Phil Friderici
committed
Aug 29, 2023
1 parent
1c6f00c
commit ffd4dc0
Showing
3 changed files
with
68 additions
and
92 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Run PDK tests on Puppet 7.x | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
validate-7: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run pdk validate | ||
uses: puppets-epic-show-theatre/action-pdk-validate@v1 | ||
with: | ||
puppet-version: "7" | ||
# [optional] A string indicating the Puppet version to validate against, such as "5.4.2" or "5.5". | ||
# pe-version: "" | ||
# [optional] A string indicating the PE version to validate against, such as "2017.3.5" or "2018.1". | ||
|
||
test-7: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run unit tests | ||
uses: puppets-epic-show-theatre/action-pdk-test-unit@v1 | ||
with: | ||
puppet-version: "7" | ||
# [optional] A string indicating the Puppet version to validate against, such as "5.4.2" or "5.5". | ||
# pe-version: "" | ||
# [optional] A string indicating the PE version to validate against, such as "2017.3.5" or "2018.1". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Run PDK tests on Puppet 8.x | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
validate-8: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run pdk validate | ||
uses: puppets-epic-show-theatre/action-pdk-validate@v1 | ||
with: | ||
puppet-version: "8" | ||
# [optional] A string indicating the Puppet version to validate against, such as "5.4.2" or "5.5". | ||
# pe-version: "" | ||
# [optional] A string indicating the PE version to validate against, such as "2017.3.5" or "2018.1". | ||
|
||
test-8: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run unit tests | ||
uses: puppets-epic-show-theatre/action-pdk-test-unit@v1 | ||
with: | ||
puppet-version: "8" | ||
# [optional] A string indicating the Puppet version to validate against, such as "5.4.2" or "5.5". | ||
# pe-version: "" | ||
# [optional] A string indicating the PE version to validate against, such as "2017.3.5" or "2018.1". |