Publish on new release only #132
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
name: Run PDK tests | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
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". | |
validate: | |
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". |