Skip to content

Commit

Permalink
Require puppet-strings rake tasks
Browse files Browse the repository at this point in the history
In lib/voxpupuli/release/rake_tasks.rb we call the puppet-strings rake
tasks. To make this work, we actually need to require puppet-strings
first. This usually works fine by accident in our modules because
puppetlabs_spec_helper is loaded.
  • Loading branch information
bastelfreak committed Dec 21, 2024
1 parent 474b18f commit 40b9c8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake --rakefile Rakefile_ci -T | grep release
- name: check that required tasks are available
run: bundle exec rake --rakefile Rakefile_ci -T | grep --regexp 'rake strings' --regexp 'rake release' --quiet
- name: Verify gem builds
run: gem build --strict --verbose *.gemspec

Expand Down
1 change: 1 addition & 0 deletions lib/voxpupuli/release/rake_tasks.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

require 'puppet_blacksmith/rake_tasks'
require 'puppet-strings/tasks'

class GCGConfig
class << self
Expand Down

0 comments on commit 40b9c8c

Please sign in to comment.