MONGOID-5658 Fix callbacks for embedded #3142
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}} drv:${{matrix.driver}} db:${{matrix.mongodb}} | |
rails:${{matrix.rails}} fle:${{matrix.fle}} ${{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 | |
gemfile: Gemfile | |
experimental: false | |
- mongodb: '6.0' | |
ruby: ruby-3.1 | |
topology: replica_set | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
gemfile: Gemfile | |
experimental: false | |
- mongodb: '6.0' | |
ruby: ruby-3.0 | |
topology: replica_set | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
gemfile: Gemfile | |
experimental: false | |
- mongodb: '6.0' | |
ruby: ruby-3.1 | |
topology: replica_set | |
os: ubuntu-20.04 | |
task: test | |
driver: master | |
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 | |
gemfile: gemfiles/driver_stable.gemfile | |
experimental: false | |
- mongodb: '6.0' | |
ruby: ruby-3.1 | |
topology: server | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
rails: '7.0' | |
fle: helper | |
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: '7.0' | |
fle: helper | |
gemfile: gemfiles/rails-7.0.gemfile | |
experimental: false | |
- mongodb: '6.0' | |
ruby: ruby-3.0 | |
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.0' | |
fle: helper | |
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' | |
fle: helper | |
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' | |
fle: helper | |
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 | |
gemfile: Gemfile | |
experimental: false | |
- mongodb: '4.4' | |
ruby: ruby-2.7 | |
topology: replica_set | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
gemfile: Gemfile | |
experimental: false | |
- mongodb: '4.0' | |
ruby: ruby-2.7 | |
topology: replica_set | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
gemfile: Gemfile | |
experimental: false | |
- mongodb: '3.6' | |
ruby: ruby-2.7 | |
topology: replica_set | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
gemfile: 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: | |
FLE: "${{matrix.fle}}" | |
BUNDLE_GEMFILE: "${{matrix.gemfile}}" | |
with: | |
ruby-version: "${{matrix.ruby}}" | |
bundler: 2 | |
- name: bundle | |
run: bundle install --jobs 4 --retry 3 | |
env: | |
FLE: "${{matrix.fle}}" | |
BUNDLE_GEMFILE: "${{matrix.gemfile}}" | |
- name: test | |
timeout-minutes: 60 | |
continue-on-error: "${{matrix.experimental}}" | |
run: bundle exec rake ci | |
env: | |
BUNDLE_GEMFILE: "${{matrix.gemfile}}" | |
FLE: "${{matrix.fle}}" | |
MONGODB_URI: "${{ steps.start-mongodb.outputs.cluster-uri }}" |