Skip to content

Mongoid8

Mongoid8 #33

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches: [master, cqm_parsers_3_x, bonnie_version]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [3.2]
mongodb-version: [4.2, 4.4]
steps:
- uses: actions/checkout@v2
- name: Use Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: bundle install
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Run audit
run: bundle exec bundle-audit check --update
- name: Run tests
run: bundle exec rake test
- name: Run rubocop
run: rubocop