Skip to content

Commit

Permalink
Test for both roda 2 and roda 3
Browse files Browse the repository at this point in the history
  • Loading branch information
adam12 committed May 2, 2024
1 parent 019a8f7 commit a43ddb2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ jobs:
- '3.1'
- '3.2'
- '3.3'
name: ${{ matrix.ruby }}
gemfile:
- gemfiles/roda-2.rb
- gemfiles/roda-3.rb

env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}

steps:
- uses: actions/checkout@v4
- name: Set up Ruby
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/pkg
/html
/.yardoc
/gemfiles/*.lock
3 changes: 3 additions & 0 deletions gemfiles/roda-2.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
eval_gemfile("../Gemfile")

gem "roda", "~> 2"
3 changes: 3 additions & 0 deletions gemfiles/roda-3.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
eval_gemfile("../Gemfile")

gem "roda", "~> 3"

0 comments on commit a43ddb2

Please sign in to comment.