Add database_collection to models #67
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
name: Ruby CI | |
on: | |
push: | |
branches: | |
- master | |
- 1.x | |
pull_request: | |
branches: | |
- master | |
- 1.x | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps | |
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }} | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["3.0", "3.1", "3.2", "jruby"] | |
gemfile: | |
- "active_support_7_0" | |
- "active_support_7_1" | |
exclude: | |
- ruby: "jruby" | |
gemfile: "active_support_7_0" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up CouchDB | |
uses: cobot/couchdb-action@v4 | |
with: | |
couchdb version: "2.3.1" | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run tests | |
run: bundle exec rake spec_ci |