MONGOID-5899 Write conflict error when accessing embedded documents v… #4297
This file contains hidden or 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}} db:${{matrix.mongodb}} | |
| rails:${{matrix.rails}} fle:${{matrix.fle}} ${{matrix.topology}}" | |
| env: | |
| CI: true | |
| TESTOPTS: "-v" | |
| BUNDLE_GEMFILE: "${{ matrix.rails == '' && 'Gemfile' || format('gemfiles/rails-{0}.gemfile', matrix.rails) }}" | |
| runs-on: ubuntu-22.04 | |
| continue-on-error: false | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: [ "3.3" ] | |
| mongodb: [ "8.0" ] | |
| rails: [ ~, "8.1" ] | |
| fle: [ ~, "helper" ] | |
| topology: [ replica_set, sharded_cluster ] | |
| 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@8c66939e0f2ad8ec03522cd7e8631f5a55e2c9f2 | |
| with: | |
| version: "${{matrix.mongodb}}" | |
| topology: "${{matrix.topology}}" | |
| - name: load ruby | |
| uses: ruby/setup-ruby@v1 | |
| env: | |
| FLE: "${{matrix.fle}}" | |
| BUNDLE_GEMFILE: "${{env.BUNDLE_GEMFILE}}" | |
| with: | |
| ruby-version: "${{matrix.ruby}}" | |
| bundler: 2 | |
| - name: bundle | |
| run: bundle install --jobs 4 --retry 3 | |
| env: | |
| FLE: "${{matrix.fle}}" | |
| BUNDLE_GEMFILE: "${{env.BUNDLE_GEMFILE}}" | |
| - name: test | |
| timeout-minutes: 60 | |
| continue-on-error: "${{matrix.experimental}}" | |
| run: bundle exec rake ci | |
| env: | |
| BUNDLE_GEMFILE: "${{env.BUNDLE_GEMFILE}}" | |
| FLE: "${{matrix.fle}}" | |
| MONGODB_URI: "${{ steps.start-mongodb.outputs.cluster-uri }}" |