Sha256: 8fa2e1608065336378747519a1d35861f280219210a2a8f24d00e920060a7eba

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

name: Ruby Tests

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  test:

    name: Specs - Ruby ${{ matrix.ruby-version }} ${{matrix.gemfile}}
    runs-on: ubuntu-latest
    env:
      CC_TEST_REPORTER_ID: 2a6849be8214739deef0090b810b945ce9a550a4d8279d242cb03242d1ad53c5
      BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile

    strategy:
      matrix:
        gemfile:
          - faraday-1
          - faraday-2
        ruby-version:
          - "3.1"
          - "3.0"
          - "2.7"
          - "2.6"
          - jruby
          - truffleruby

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby ${{ matrix.ruby-version }}
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
    - name: Install dependencies
      run: bundle install
    - name: Run tests
      run: bundle exec rake test
    - name: Upload Coverage
      uses: paambaati/codeclimate-action@v3.0.0
      if: matrix.ruby-version == '3.1' && matrix.gemfile == 'faraday-2'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tracker_api-1.14.0 .github/workflows/ruby-tests.yml