MONGOID-5836 Don't repeat callbacks for embedded grandchildren (backport to 8.1-stable) #3883
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: '6.0' | |
ruby: ruby-3.2 | |
topology: replica_set | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
rails: | |
i18n: | |
gemfile: Gemfile | |
experimental: false | |
- mongodb: '6.0' | |
ruby: ruby-3.1 | |
topology: replica_set | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
rails: | |
i18n: | |
gemfile: Gemfile | |
experimental: false | |
- mongodb: '6.0' | |
ruby: ruby-3.0 | |
topology: replica_set | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
rails: | |
i18n: | |
gemfile: Gemfile | |
experimental: false | |
- mongodb: '6.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: '6.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: '7.0' | |
ruby: ruby-3.3 | |
topology: server | |
os: ubuntu-22.04 | |
task: test | |
driver: current | |
rails: '8.0' | |
fle: helper | |
gemfile: gemfiles/rails-8.0.gemfile | |
experimental: false | |
- mongodb: '7.0' | |
ruby: ruby-3.2 | |
topology: server | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
rails: '7.2' | |
fle: helper | |
gemfile: gemfiles/rails-7.2.gemfile | |
experimental: false | |
- mongodb: '7.0' | |
ruby: ruby-3.2 | |
topology: server | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
rails: '7.1' | |
fle: helper | |
gemfile: gemfiles/rails-7.1.gemfile | |
experimental: false | |
- mongodb: '7.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: '6.0' | |
ruby: ruby-3.1 | |
topology: server | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
rails: '6.1' | |
fle: helper | |
gemfile: gemfiles/rails-6.1.gemfile | |
experimental: false | |
- mongodb: '6.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: '6.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: '6.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: '6.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: ruby-3.1 | |
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: replica_set | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
rails: | |
i18n: | |
gemfile: Gemfile | |
experimental: false | |
steps: | |
- name: repo checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
# the default python 3.8 doesn't cut it, and causes mongo-orchestration | |
# to fail in mongodb-labs/drivers-evergreen-tools. | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- 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: Change permissions | |
run: chmod -R o-w /opt/hostedtoolcache/Ruby | |
- 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 ci | |
env: | |
BUNDLE_GEMFILE: "${{matrix.gemfile}}" | |
MONGODB_URI: "${{ steps.start-mongodb.outputs.cluster-uri }}" |