Skip to content

Commit

Permalink
Add Ruby 3 to Circle tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-brough committed Jan 21, 2022
1 parent f38c50c commit bbfda02
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,30 @@ jobs:
POSTGRES_DB: ruby27
POSTGRES_PASSWORD: ""

ruby-30:
<<: *default_job
steps:
- shared_steps
# Run the tests against the versions of Rails that support Ruby 3
- run: bundle exec appraisal install
- run: bundle exec appraisal rails60 rspec
- run: bundle exec appraisal rails61 rspec
docker:
- image: circleci/ruby:3.0-node-browsers-legacy
environment:
PGHOST: localhost
PGUSER: administrate
RAILS_ENV: test
- image: postgres:10.1-alpine
environment:
POSTGRES_USER: administrate
POSTGRES_DB: ruby30
POSTGRES_PASSWORD: ""

workflows:
version: 2
multiple-rubies:
jobs:
- ruby-30
- ruby-27
- ruby-26

0 comments on commit bbfda02

Please sign in to comment.