From 9ff4e537e27e1ccaec87b4ee3903eed86005a2cb Mon Sep 17 00:00:00 2001 From: Alessandro Franceschi Date: Sun, 22 Oct 2023 12:34:49 +0200 Subject: [PATCH] Unit tests on Legacy Puppet 6 --- .github/workflows/pr.yml | 16 +++++++++++----- CHANGELOG.md | 1 + 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2b0dc7b..66cc2e0 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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: @@ -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: @@ -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 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ef548b..4157d62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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