Skip to content

athenahealth/action-pdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple GitHub Action using the Puppet Development Kit

This is a very simple GitHub action that allows you to run tests using the Puppet Development Kit. It uses the official Puppet PDK docker image as its basis.

Usage

Currently this takes a single argument, action, that is just passed to the invocation of pdk directly.

name: Run PDK tests

on:
  - push
  - pull_request

jobs:
  tests:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Validate
        uses: mysociety/action-pdk@master
        with:
          action: 'validate'

      - name: Run Unit Tests
        uses: mysociety/action-pdk@master
        with:
          action: 'test unit'

About

Use the Puppet Development Kit in GitHub Actions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 92.6%
  • Shell 7.4%