Skip to content

Commit

Permalink
Fix CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
smoeding committed Nov 15, 2024
1 parent d247bd5 commit 3f5b80a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,25 @@ jobs:
check:
name: Puppet ${{ matrix.puppet_version }}
runs-on: ubuntu-latest
container: puppet/pdk:latest

strategy:
fail-fast: false
matrix:
puppet_version: [7, 8]

steps:
- name: Install build-essential
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get --yes update
apt-get --yes install build-essential
- name: Clone repository
uses: actions/checkout@v4

- name: Run pdk validate
uses: puppets-epic-show-theatre/action-pdk-validate@v1
with:
puppet-version: ${{ matrix.puppet_version }}
run: pdk validate --format=text --puppet-version ${{ matrix.puppet_version }}

- name: Run pdk test unit
uses: puppets-epic-show-theatre/action-pdk-test-unit@v1
with:
puppet-version: ${{ matrix.puppet_version }}
run: pdk test unit --format=text --puppet-version ${{ matrix.puppet_version }}

0 comments on commit 3f5b80a

Please sign in to comment.