Skip to content

Commit

Permalink
Unit tests on Legacy Puppet 6
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Oct 22, 2023
1 parent c45a81e commit 9ff4e53
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ jobs:
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
- uses: actions/checkout@v4
- name: Run static validations
run: /usr/local/bin/pdk bundle exec rake validate lint check
env:
Expand All @@ -24,7 +23,7 @@ jobs:
# container: puppet/puppet-dev-tools:4.x
container: puppet/pdk:3.0.0.0
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run unit tests on Puppet 8
run: /usr/local/bin/pdk test unit --puppet-version=8
env:
Expand All @@ -35,9 +34,16 @@ jobs:
env:
BUNDLE_WITHOUT: development:system_tests:release
continue-on-error: true

unit_legacy:
name: 'Unit tests Legacy Puppet'
runs-on: ubuntu-latest
timeout-minutes: 60
container: puppet/puppet-dev-tools:4.x
steps:
- uses: actions/checkout@v4
- name: Run unit tests on Puppet 6
container: puppet/puppet-dev-tools:4.x
run: /usr/local/bin/pdk test unit --puppet-version=6
env:
BUNDLE_WITHOUT: development:system_tests:release
continue-on-error: true
continue-on-error: true
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Make psick::tools::create_dir windows compatible
- Several lints and fixes
- Define psick::git::clone to clone and sync a git repo
- psick::ruby::rbenv has no more a default ruby version

## Release 1.0.4

Expand Down

0 comments on commit 9ff4e53

Please sign in to comment.