This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
No maintenance notice (#54) #234
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 test unit | |
on: | |
- push | |
- pull_request | |
- workflow_dispatch | |
jobs: | |
validating: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
puppet-version: [5, 6, 7] | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v2 | |
- name: Run pdk validate | |
uses: puppets-epic-show-theatre/action-pdk-validate@v1 | |
with: | |
puppet-version: ${{ matrix.puppet-version }} | |
testing: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
puppet-version: [5, 6, 7] | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v2 | |
- name: Run unit tests | |
uses: puppets-epic-show-theatre/action-pdk-test-unit@v1 | |
# added because there are open ended dependencies version requirements in metadata.json | |
with: | |
puppet-version: ${{ matrix.puppet-version }} |