Sha256: 81a224f569fdb8326da529201da5ab61bda70e84fda426dfc7a27a4dc3a6be36

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

name: Ruby

on:
  push:
    paths-ignore:
      - 'README.md'
      - 'CHANGELOG.md'
  pull_request:
    branches: [ master ]
    paths-ignore:
      - 'README.md'
      - 'CHANGELOG.md'

jobs:
  test:
    runs-on: ubuntu-latest
    name: Test
    if: "contains(github.event.commits[0].message, '[ci skip]') == false"
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - 2.0
          - 2.2
          - 2.6
          - 2.7
        gemfile:
          - Gemfile
    env:
      BUNDLE_GEMFILE: "gemfiles/${{ matrix.gemfile }}"

    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - name: Setup Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        bundler-cache: true # runs 'bundle install' and caches installed gems automatically
    - name: Run tests
      run: bundle exec rake
    - name: Publish code coverage
      if: ${{ success() && github.event.pull_request.head.repo.full_name == github.repository }}
      uses: paambaati/codeclimate-action@v2.7.5
      env:
        CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
multi_range-2.1.1 .github/workflows/ruby.yml
multi_range-2.1.0 .github/workflows/ruby.yml