Skip to content

Commit

Permalink
Restructure Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-larsson committed Feb 12, 2024
1 parent 1cc0214 commit d40e9ca
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 92 deletions.
92 changes: 0 additions & 92 deletions .github/workflows/ci.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/run-pdk-tests-on-puppet-6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Run PDK tests on Puppet 6.x

on:
- push
- pull_request

jobs:
test:
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: "6"
17 changes: 17 additions & 0 deletions .github/workflows/run-pdk-tests-on-puppet-7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Run PDK tests on Puppet 7.x

on:
- push
- pull_request

jobs:
test:
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: "7"
16 changes: 16 additions & 0 deletions .github/workflows/run-pdk-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Run PDK validate

on:
- push
- pull_request

jobs:
validate:
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

0 comments on commit d40e9ca

Please sign in to comment.