Skip to content

Commit

Permalink
Merge pull request #4 from flivni/ci
Browse files Browse the repository at this point in the history
Add GitHub Actions workflow for CI
  • Loading branch information
flivni authored Nov 4, 2024
2 parents dfc3de5 + 562327c commit c933ede
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
# Could consider adding head, jruby-head, jruby in the future
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', truffleruby, truffleruby-head]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rake
7 changes: 4 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
batch_queue (0.1.0)
batch_queue (1.0.0)

GEM
remote: https://rubygems.org/
Expand All @@ -19,13 +19,14 @@ GEM

PLATFORMS
ruby
universal-darwin-24

DEPENDENCIES
batch_queue!
bundler (~> 1.16)
bundler (~> 2.2)
minitest (~> 5.0)
minitest-reporters (~> 1.4)
rake (~> 13.0)

BUNDLED WITH
1.16.2
2.3.26
2 changes: 1 addition & 1 deletion batch_queue.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler", "~> 1.16"
spec.add_development_dependency "bundler", "~> 2.2"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "minitest", "~> 5.0"
spec.add_development_dependency "minitest-reporters", '~> 1.4'
Expand Down

0 comments on commit c933ede

Please sign in to comment.