Sha256: cb3fe34b889ee264784269ab8be8b86cf01422c791806f22d20b2990e79ce25f

Contents?: true

Size: 891 Bytes

Versions: 1

Compression:

Stored size: 891 Bytes

Contents

name: Ruby

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

jobs:
  test:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby: [2.5, 2.6, 2.7, 3.0]

    steps:
      - uses: actions/checkout@v2.4.0

      - 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.0.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.1 .github/workflows/ruby.yml