Skip to content

Commit

Permalink
Add Ruby head
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstegman committed Jan 4, 2024
1 parent 3487a4e commit 8d25a63
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,33 @@ jobs:
# Always install the latest versions available
with-cache: false
- ruby/rspec-test
test-ruby-head:
parameters:
rails-version:
type: string
docker:
- image: cimg/base:stable
environment:
RAILS_VERSION: <<parameters.rails-version>>
steps:
- checkout
- ruby/install:
# RVM wants Ruby 2 for some reason to install Ruby head
version: "2.7.8"
- ruby/install:
version: ruby-head
- run: |
rvm alias create default ruby-head
cat /home/circleci/.rvm/log/*/alias_create.log
- run: ruby --version
- ruby/install-deps:
# Have to set this since there's no lockfile
bundler-version: ">2"
# Do not use deployment mode, because we don't have a lockfile
path: "bundle"
# Always install the latest versions available
with-cache: false
- ruby/rspec-test

workflows:
test:
Expand All @@ -42,3 +69,10 @@ workflows:
- "~> 7.1.0"
- "~> 7.0.0"
- "~> 6.1.0"
- test-ruby-head:
matrix:
parameters:
rails-version:
- "~> 7.1.0"
- "~> 7.0.0"
- "~> 6.1.0"

0 comments on commit 8d25a63

Please sign in to comment.