Skip to content

MONGOID-4716 Fix eager loading of nested referenced associations #5194 #896

MONGOID-4716 Fix eager loading of nested referenced associations #5194

MONGOID-4716 Fix eager loading of nested referenced associations #5194 #896

Workflow file for this run

# This file was auto-generated by .evergreen/make-github-actions
# at 2021-09-07T16:15:13Z
---
name: Run Mongoid Tests
'on':
- push
- pull_request
jobs:
build:
name: "${{matrix.ruby}} driver-${{matrix.driver}} mongodb-${{matrix.mongodb}}
${{matrix.topology}}"
env:
CI: true
TESTOPTS: "-v"
runs-on: ${{matrix.os}}
continue-on-error: "${{matrix.experimental}}"
strategy:
fail-fast: false
matrix:
include:
- mongodb: '5.0'
ruby: ruby-3.1
topology: server
os: ubuntu-20.04
task: test
driver: current
rails:
i18n:
gemfile: Gemfile
experimental: false
- mongodb: '5.0'
ruby: ruby-3.1
topology: replica_set
os: ubuntu-20.04
task: test
driver: current
rails:
i18n:
gemfile: Gemfile
experimental: false
- mongodb: '5.0'
ruby: ruby-3.0
topology: server
os: ubuntu-20.04
task: test
driver: current
rails:
i18n:
gemfile: Gemfile
experimental: false
- mongodb: '5.0'
ruby: ruby-3.0
topology: replica_set
os: ubuntu-20.04
task: test
driver: current
rails:
i18n:
gemfile: Gemfile
experimental: false
- mongodb: '5.0'
ruby: jruby-9.3
topology: replica_set
os: ubuntu-20.04
task: test
driver: current
rails:
i18n:
gemfile: Gemfile
experimental: false
- mongodb: '5.0'
ruby: jruby-9.2
topology: replica_set
os: ubuntu-20.04
task: test
driver: current
rails:
i18n:
gemfile: Gemfile
experimental: false
- mongodb: '4.4'
ruby: ruby-2.7
topology: server
os: ubuntu-20.04
task: test
driver: current
rails:
i18n:
gemfile: Gemfile
experimental: false
- mongodb: '4.4'
ruby: ruby-2.7
topology: replica_set
os: ubuntu-20.04
task: test
driver: current
rails:
i18n:
gemfile: Gemfile
experimental: false
- mongodb: '4.0'
ruby: ruby-2.6
topology: server
os: ubuntu-18.04
task: test
driver: current
rails:
i18n:
gemfile: Gemfile
experimental: false
- mongodb: '4.0'
ruby: ruby-2.6
topology: replica_set
os: ubuntu-18.04
task: test
driver: current
rails:
i18n:
gemfile: Gemfile
experimental: false
- mongodb: '3.6'
ruby: ruby-2.5
topology: server
os: ubuntu-18.04
task: test
driver: current
rails:
i18n:
gemfile: Gemfile
experimental: false
- mongodb: '3.6'
ruby: ruby-2.5
topology: replica_set
os: ubuntu-18.04
task: test
driver: current
rails:
i18n:
gemfile: Gemfile
experimental: false
- mongodb: '5.0'
ruby: ruby-3.1
topology: replica_set
os: ubuntu-20.04
task: test
driver: master
rails:
i18n:
gemfile: gemfiles/driver_master.gemfile
experimental: true
- mongodb: '5.0'
ruby: ruby-3.0
topology: replica_set
os: ubuntu-20.04
task: test
driver: stable
rails:
i18n:
gemfile: gemfiles/driver_stable.gemfile
experimental: false
- mongodb: '4.0'
ruby: ruby-2.5
topology: replica_set
os: ubuntu-18.04
task: test
driver: oldstable
rails:
i18n:
gemfile: gemfiles/driver_oldstable.gemfile
experimental: false
- mongodb: '4.0'
ruby: ruby-2.5
topology: replica_set
os: ubuntu-18.04
task: test
driver: min
rails:
i18n:
gemfile: gemfiles/driver_min.gemfile
experimental: false
- mongodb: '3.6'
ruby: ruby-2.5
topology: server
os: ubuntu-18.04
task: test
driver: min
rails:
i18n:
gemfile: gemfiles/driver_min.gemfile
experimental: false
- mongodb: '5.0'
ruby: ruby-3.1
topology: server
os: ubuntu-20.04
task: test
driver: current
rails: '7.0'
i18n:
gemfile: gemfiles/rails-7.0.gemfile
experimental: false
- mongodb: '5.0'
ruby: ruby-3.1
topology: server
os: ubuntu-20.04
task: test
driver: current
rails: '6.1'
i18n:
gemfile: gemfiles/rails-6.1.gemfile
experimental: false
- mongodb: '5.0'
ruby: ruby-3.0
topology: server
os: ubuntu-20.04
task: test
driver: current
rails: '7.0'
i18n:
gemfile: gemfiles/rails-7.0.gemfile
experimental: false
- mongodb: '5.0'
ruby: ruby-3.0
topology: server
os: ubuntu-20.04
task: test
driver: current
rails: '6.1'
i18n:
gemfile: gemfiles/rails-6.1.gemfile
experimental: false
- mongodb: '5.0'
ruby: ruby-3.0
topology: server
os: ubuntu-20.04
task: test
driver: current
rails: '6.0'
i18n:
gemfile: gemfiles/rails-6.0.gemfile
experimental: false
- mongodb: '4.0'
ruby: ruby-2.7
topology: server
os: ubuntu-18.04
task: test
driver: current
rails: '5.1'
i18n:
gemfile: gemfiles/rails-5.1.gemfile
experimental: false
- mongodb: '4.0'
ruby: ruby-2.7
topology: server
os: ubuntu-18.04
task: test
driver: current
rails: '5.2'
i18n:
gemfile: gemfiles/rails-5.2.gemfile
experimental: false
- mongodb: '4.4'
ruby: ruby-2.5
topology: server
os: ubuntu-20.04
task: test
driver: current
rails:
i18n: '1.0'
gemfile: gemfiles/i18n-1.0.gemfile
experimental: false
- mongodb: '4.2'
ruby: ruby-2.6
topology: server
os: ubuntu-18.04
task: test
driver: current
rails:
i18n: '1.0'
gemfile: gemfiles/i18n-1.0.gemfile
experimental: false
- mongodb: '4.2'
ruby: ruby-2.6
topology: server
os: ubuntu-18.04
task: test
driver: current
rails:
i18n: current
gemfile: Gemfile
experimental: false
- mongodb: '5.0'
ruby: ruby-2.7
topology: server
os: ubuntu-20.04
task: test
driver: current
rails: '5.1'
i18n:
gemfile: gemfiles/rails-5.1.gemfile
experimental: false
- mongodb: '5.0'
ruby: ruby-2.7
topology: server
os: ubuntu-20.04
task: test
driver: current
rails: '5.2'
i18n:
gemfile: gemfiles/rails-5.2.gemfile
experimental: false
- mongodb: '5.0'
ruby: jruby-9.3
topology: server
os: ubuntu-20.04
task: test
driver: current
rails: '6.0'
i18n:
gemfile: gemfiles/rails-6.0.gemfile
experimental: false
- mongodb: '5.0'
ruby: jruby-9.2
topology: server
os: ubuntu-20.04
task: test
driver: current
rails: '6.0'
i18n:
gemfile: gemfiles/rails-6.0.gemfile
experimental: false
steps:
- name: repo checkout
uses: actions/checkout@v2
with:
submodules: recursive
- id: start-mongodb
name: start mongodb
uses: mongodb-labs/drivers-evergreen-tools@master
with:
version: "${{matrix.mongodb}}"
topology: "${{matrix.topology}}"
- name: load ruby
uses: ruby/setup-ruby@v1
env:
BUNDLE_GEMFILE: "${{matrix.gemfile}}"
with:
ruby-version: "${{matrix.ruby}}"
bundler: 2
- name: bundle
run: bundle install --jobs 4 --retry 3
env:
BUNDLE_GEMFILE: "${{matrix.gemfile}}"
- name: test
timeout-minutes: 60
continue-on-error: "${{matrix.experimental}}"
run: bundle exec rake spec
env:
BUNDLE_GEMFILE: "${{matrix.gemfile}}"
MONGODB_URI: "${{ steps.start-mongodb.outputs.cluster-uri }}"