Commit 9b4146e3 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Combine PDK tests

parent acf9965e
Loading
Loading
Loading
Loading

.github/workflows/test-unit.yml

deleted100644 → 0
+0 −22
Original line number Diff line number Diff line
name: Run pdk test unit

on:
  - push
  - pull_request

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Clone repository
      uses: actions/checkout@v2

    - 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".
+26 −11
Original line number Diff line number Diff line
@@ -5,18 +5,33 @@ on:
  - pull_request

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

      - name: Validate
        uses: mysociety/action-pdk@master
    - name: Run unit tests
      uses: puppets-epic-show-theatre/action-pdk-test-unit@v1
      with:
          action: 'validate'
        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@v2

      - name: Run Unit Tests
        uses: mysociety/action-pdk@master
    - name: Run PDK validate
      uses: puppets-epic-show-theatre/action-pdk-validate@v1
      with:
          action: 'test unit'
        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".

.github/workflows/validate.yml

deleted100644 → 0
+0 −22
Original line number Diff line number Diff line
name: Run pdk static validation

on:
  - push
  - pull_request

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Clone repository
      uses: actions/checkout@v2

    - 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".