Sha256: cb5d71da3c50467db2767e02719cd371d9755e3e49dfcbaaff66f49de015ec1a

Contents?: true

Size: 1012 Bytes

Versions: 6

Compression:

Stored size: 1012 Bytes

Contents

name: ci

on: push

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby_version: [2.5.x, 2.6.x, 2.7.x]

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: actions/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby_version }}
    - name: Download CodeClimate reporter
      run: |
        curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
        chmod +x ./cc-test-reporter
        ./cc-test-reporter before-build
      env:
        CC_TEST_REPORTER_ID: get_a_test_reporter_id_from_code_climate
    - name: Build and test
      run: |
        gem install bundler:1.17.3
        bundle update
        bundle install --jobs 4 --retry 3
        bundle exec rake code_analysis
        bundle exec rspec
    - name: Report to CodeClimate
      run: |
        ./cc-test-reporter after-build --exit-code 0
      env:
        CC_TEST_REPORTER_ID: get_a_test_reporter_id_from_code_climate

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rsgem-0.3.0 lib/rsgem/support/github_actions.yml
rsgem-0.2.0 lib/rsgem/support/github_actions.yml
rsgem-0.1.3 lib/rsgem/support/github_actions.yml
rsgem-0.1.2 lib/rsgem/support/github_actions.yml
rsgem-0.1.1 lib/rsgem/support/github_actions.yml
rsgem-0.1.0 lib/rsgem/support/github_actions.yml