Skip to content

Commit 1e40ddd

Browse files
committed
Merge branch 'faraquet-testing-ruby-2.7'
2 parents b67f971 + 76ad0b2 commit 1e40ddd

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

.circleci/config.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,52 @@ jobs:
141141
path: test/reports/
142142
- store_test_results:
143143
path: test/reports/
144+
test_ruby_2_7:
145+
docker:
146+
- image: circleci/ruby:2.7
147+
environment:
148+
RAILS_ENV: test
149+
RACK_ENV: test
150+
POSTGRES_USER: root
151+
PGHOST: 127.0.0.1
152+
DATABASE_URL: postgres://postgres@127.0.0.1/circle_test
153+
QC_DATABASE_URL: postgres://postgres@127.0.0.1/circle_test
154+
QC_BENCHMARK: true
155+
QC_BENCHMARK_MAX_TIME_DEQUEUE: 60
156+
- image: circleci/postgres:9.6.6-alpine
157+
steps:
158+
- checkout
159+
- run:
160+
name: Install env dependencies
161+
command: |
162+
sudo apt-get update
163+
sudo apt-get install postgresql-client
164+
- restore_cache:
165+
key: v1-qc-bundler-{{ checksum "Gemfile" }}-{{ checksum "queue_classic.gemspec"
166+
}}
167+
- run:
168+
name: Install Ruby gems
169+
command: |
170+
bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
171+
- save_cache:
172+
key: v1-qc-bundler-{{ checksum "Gemfile" }}-{{ checksum "queue_classic.gemspec"
173+
}}
174+
paths:
175+
- ~/project/vendor/bundle
176+
- run:
177+
name: Minitest
178+
command: |
179+
bundle exec rake
180+
- store_artifacts:
181+
path: test/reports/
182+
- store_test_results:
183+
path: test/reports/
144184
workflows:
145185
version: 2
146186
test:
147187
jobs:
148188
- test_ruby_2_4
149189
- test_ruby_2_5
150190
- test_ruby_2_6
191+
- test_ruby_2_7
151192
- test_fresh_install_rails_5_2_3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ A major benefit is the ability to enqueue inside transactions, ensuring things a
3434
### Requirements
3535

3636
For this version, the requirements are as follows:
37-
* Ruby 2.4, 2.5 or 2.6
37+
* Ruby 2.4, 2.5, 2.6 or 2.7
3838
* Postgres ~> 9.6
3939
* Rubygem: pg ~> 0.17
4040

0 commit comments

Comments
 (0)