Sha256: 801cf14a3693a2efc3ab47bfca3a7a3259a7b9fd3da8da0072cb6aca202ada4a

Contents?: true

Size: 808 Bytes

Versions: 3

Compression:

Stored size: 808 Bytes

Contents

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

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby-version: [2.6, 2.5]
        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

3 entries across 3 versions & 1 rubygems

Version Path
cqm-validators-4.0.0 .github/workflows/ci.yml
cqm-validators-3.1.2 .github/workflows/ci.yml
cqm-validators-3.1.1 .github/workflows/ci.yml