Skip to content

Commit

Permalink
fix: install dip in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bibendi committed Feb 16, 2024
1 parent 83df5fd commit 490db0b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ '2.7', '3.0', '3.1', '3.2' ]
ruby: [ '2.7', '3.0', '3.1', '3.2', '3.3' ]
env:
RUBY_VERSION: ${{ matrix.ruby }}
name: Ruby ${{ matrix.ruby }}
Expand All @@ -24,6 +24,8 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: dip provision
run: |
gem install dip
dip provision
- name: Run tests
run: dip test
run: dip appraisal rspec --format RspecJunitFormatter --out test-results/rspec_${{ matrix.ruby }}.xml --format documentation
2 changes: 1 addition & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ versions_map = {
"6.0" => %w[2.7],
"6.1" => %w[3.0 3.1],
"7.0" => %w[3.2],
"7.1" => %w[3.2]
"7.1" => %w[3.3]
}

current_ruby_version = RUBY_VERSION.split(".").first(2).join(".")
Expand Down
4 changes: 2 additions & 2 deletions dip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ interaction:
subcommands:
all:
command: bundle exec appraisal rspec
rails-5.1:
command: bundle exec appraisal rails-5.1 rspec
rails-5.2:
command: bundle exec appraisal rails-5.2 rspec
rails-6.0:
Expand All @@ -45,6 +43,8 @@ interaction:
command: bundle exec appraisal rails-6.1 rspec
rails-7.0:
command: bundle exec appraisal rails-7.0 rspec
rails-7.1:
command: bundle exec appraisal rails-7.1 rspec

rubocop:
description: Run Ruby linter
Expand Down

0 comments on commit 490db0b

Please sign in to comment.