RUBY-3209 Add API docs generator and publisher #2996
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: '6.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' | |
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: '7.0' | |
i18n: | |
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' | |
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 | |
- mongodb: '4.0' | |
ruby: ruby-2.7 | |
topology: replica_set | |
os: ubuntu-20.04 | |
task: test | |
driver: current | |
rails: | |
i18n: | |
gemfile: Gemfile | |
experimental: false | |
- mongodb: '3.6' | |
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 | |
- 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 }}" |