Skip to content

Commit

Permalink
Merge pull request #19 from rwaffen/18-update-to-beaker-5
Browse files Browse the repository at this point in the history
update to beaker 5
  • Loading branch information
ekohl authored Mar 27, 2023
2 parents 2b8a2ac + 489f93f commit edd24ff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ jobs:
fail-fast: false
matrix:
ruby:
- "2.4"
- "2.5"
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.2"
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
Expand All @@ -26,3 +25,11 @@ jobs:
bundler-cache: true
- name: Run tests
run: bundle exec rake test

tests:
needs:
- test
runs-on: ubuntu-latest
name: Test suite
steps:
- run: echo Test suite completed
4 changes: 2 additions & 2 deletions beaker-hiera.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ['lib']

s.required_ruby_version = '>= 2.4', '< 4'
s.required_ruby_version = '>= 2.7', '< 4'

# Testing dependencies
s.add_development_dependency 'pry', '~> 0.10'
Expand All @@ -30,5 +30,5 @@ Gem::Specification.new do |s|
s.add_development_dependency 'yard'

# Run time dependencies
s.add_runtime_dependency 'beaker', '~> 4.0'
s.add_runtime_dependency 'beaker', '>= 4', '< 6'
end

0 comments on commit edd24ff

Please sign in to comment.