Sha256: 4a00bde49eda214f6701cd83f1e9daf74ed542ac4e3ee4495b130c1c15d93fdf

Contents?: true

Size: 1013 Bytes

Versions: 1

Compression:

Stored size: 1013 Bytes

Contents

name: Ruby

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

jobs:
  test:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
        gemfile: [faraday_1, faraday_2]

    env:
      BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile

    steps:
      - uses: actions/checkout@v3

      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true

      - name: Update the RubyGems system software
        run: gem update --system

      - name: Update Bundler
        run: bundle update --bundler

      - name: Install dependencies
        run: bundle install

      - name: Run tests and publish coverage
        uses: paambaati/codeclimate-action@v3.2.0
        env:
          COVERAGE: on
          CC_TEST_REPORTER_ID: 45cd2174f49b570406e294ff393d456c4ae8532cf16dd6430abb06d8a0722a28
        with:
          coverageCommand: bundle exec rspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mrkt-1.2.2 .github/workflows/ruby.yml