-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add github actions for pdk validate and pdk test unit
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
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,22 @@ | ||
name: Run pdk test unit | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run unit tests | ||
uses: puppets-epic-show-theatre/action-pdk-test-unit@v1 | ||
with: | ||
puppet-version: "" | ||
# [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,22 @@ | ||
name: Run pdk static validation | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run pdk validate | ||
uses: puppets-epic-show-theatre/action-pdk-validate@v1 | ||
with: | ||
puppet-version: "" | ||
# [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". |