diff --git a/.circleci/config.yml b/.circleci/config.yml index 6167956..553dc24 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: <> + 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: @@ -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"