move linux sensor version used for spec testing to env vars #140
Workflow file for this run
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 Rspec tests" | |
on: | |
push: | |
workflow_call: | |
pull_request: | |
paths: | |
- 'lib/**' | |
- 'manifests/**' | |
- 'spec/**' | |
- '.github/workflows/unit-test.yml' | |
jobs: | |
unit_tests: | |
name: "Run Rspec tests" | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{github.event.pull_request.head.ref}} | |
repository: ${{github.event.pull_request.head.repo.full_name}} | |
- name: "Run Rspec tests" | |
uses: docker://puppet/pdk:latest | |
with: | |
args: 'test unit -v' |