Skip to content

Bump sqlite3 from 1.6.9 to 2.5.0 in /spec/tester_mongo #2382

Bump sqlite3 from 1.6.9 to 2.5.0 in /spec/tester_mongo

Bump sqlite3 from 1.6.9 to 2.5.0 in /spec/tester_mongo #2382

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
paths: ['**/*.rb', '**/*.yml', '**/*.ru', '**/*.erb', '**/*.lock', '**/*.gemspec']
push:
branches:
- master
paths: ['**/*.rb', '**/*.yml', '**/*.ru', '**/*.erb', '**/*.lock', '**/*.gemspec']
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
jobs:
graphoid-build:
runs-on: ubuntu-22.04
strategy:
matrix:
ruby: ['2.7.7', '2.7.8', '3.0.6', '3.1.4', '3.2.2', '3.3.0']
mongodb-version: ['4.2', '4.4', '5.0', '6.0']
steps:
- name: Clone
id: checkout
uses: actions/checkout@v1
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Gems
id: gems
run: |
gem install bundler:2.4.12
bundle install -j 5
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Rails 7.0 Tests Mongoid Bundle
id: rspec-mongo-rails7-bundle
run: |
cd spec/tester_mongo
pwd
gem install bundler:2.4.12
bundle install -j 5
- name: Rails 7.0 Tests Mongoid
id: rspec-rails7
run: |
cd spec/tester_mongo
RAILS_VERSION=7.0 DRIVER=mongo bundle exec rspec
- name: Rails 6.1 Tests Mongoid Bundle
id: rspec-mongo-rails-6-bundle
run: |
cd spec/tester_mongo_rails_6
gem install bundler:2.4.12
bundle install -j 5
- name: Rails 6.1 Tests Mongoid
id: rspec-rails-6
run: |
cd spec/tester_mongo_rails_6
RAILS_VERSION=6.1 DRIVER=mongo bundle exec rspec