Sha256: 274b144434984a7e440bec9a06644a98d52c963b7196c2de6bb7be42ca74f650

Contents?: true

Size: 836 Bytes

Versions: 1

Compression:

Stored size: 836 Bytes

Contents

name: Continuous Integration
on:
  pull_request:
    branches:
      - master
      - cqm_validators_2_x
      - cqm_validators_3_x

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby-version: [2.6, 2.7.2]
        mongodb-version: [4.0.18, 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/mongodb-github-action@1.3.0
      with:
        mongodb-version: ${{ matrix.mongodb-version }}
    - name: Run overcommit
      run: |
        bundle exec overcommit --sign
        bundle exec overcommit --run
    - name: Run tests
      run: bundle exec rake test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cqm-validators-3.1.3 .github/workflows/ci.yml