Skip to content

Commit 40b9c8c

Browse files
committed
Require puppet-strings rake tasks
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.
1 parent 474b18f commit 40b9c8c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ jobs:
4040
with:
4141
ruby-version: ${{ matrix.ruby }}
4242
bundler-cache: true
43-
- name: Run tests
44-
run: bundle exec rake --rakefile Rakefile_ci -T | grep release
43+
- name: check that required tasks are available
44+
run: bundle exec rake --rakefile Rakefile_ci -T | grep --regexp 'rake strings' --regexp 'rake release' --quiet
4545
- name: Verify gem builds
4646
run: gem build --strict --verbose *.gemspec
4747

lib/voxpupuli/release/rake_tasks.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# frozen_string_literal: true
22

33
require 'puppet_blacksmith/rake_tasks'
4+
require 'puppet-strings/tasks'
45

56
class GCGConfig
67
class << self

0 commit comments

Comments
 (0)