Sha256: fb4f64ddb31f4f9c7c6a774d32f643b6367c83ffa43e5a9053267271e5d22fae

Contents?: true

Size: 891 Bytes

Versions: 2

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.3.4

      - 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@v2.7.5
        env:
          COVERAGE: on
          CC_TEST_REPORTER_ID: 45cd2174f49b570406e294ff393d456c4ae8532cf16dd6430abb06d8a0722a28
        with:
          coverageCommand: bundle exec rspec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mrkt-1.2.0 .github/workflows/ruby.yml
mrkt-1.1.1 .github/workflows/ruby.yml