Skip to content

Facter

Facter #75

Workflow file for this run

---
name: PR tests
on: pull_request
jobs:
static:
name: 'Syntax validation'
runs-on: ubuntu-latest
timeout-minutes: 10
# container: puppet/puppet-dev-tools:4.x
container: puppet/pdk:3.0.0.0
steps:
- uses: actions/checkout@v3
- name: Run static validations
run: /usr/local/bin/pdk bundle exec rake validate lint check
env:
BUNDLE_WITHOUT: development:system_tests:release
unit:
name: 'Unit tests'
runs-on: ubuntu-latest
timeout-minutes: 60
# container: puppet/puppet-dev-tools:4.x
container: puppet/pdk:3.0.0.0
steps:
- uses: actions/checkout@v3
- name: Run unit tests on Puppet 8
run: /usr/local/bin/pdk test unit --puppet-version=8
env:
BUNDLE_WITHOUT: development:system_tests:release
continue-on-error: true
- name: Run unit tests on Puppet 7
run: /usr/local/bin/pdk test unit --puppet-version=7
env:
BUNDLE_WITHOUT: development:system_tests:release
continue-on-error: true
- name: Run unit tests on Puppet 6
container: puppet/puppet-dev-tools:4.x

Check failure on line 39 in .github/workflows/pr.yml

View workflow run for this annotation

GitHub Actions / PR tests

Invalid workflow file

The workflow is not valid. .github/workflows/pr.yml (Line: 39, Col: 9): Unexpected value 'container'
run: /usr/local/bin/pdk test unit --puppet-version=6
env:
BUNDLE_WITHOUT: development:system_tests:release
continue-on-error: true