Sha256: 34d34eb14694ba741b9935eafadf1b60363d33e4e5f31c156dc9e2ac1a7cf84d

Contents?: true

Size: 895 Bytes

Versions: 2

Compression:

Stored size: 895 Bytes

Contents

name: Tests

on: [push]

jobs:
  linter:
    runs-on: ubuntu-latest

    steps:

    - uses: actions/checkout@v2

    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.7.3
        bundler-cache: true

    - run: bundle exec rubocop --display-cop-names --parallel

  rspec:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.7.3
          bundler-cache: true

      - run: |
            curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
            chmod +x ./cc-test-reporter

      - run: |
            ./cc-test-reporter before-build
            bundle exec rspec
            ./cc-test-reporter after-build -r $CC_TEST_REPORTER_ID --exit-code $?
        env:
           CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
br_documents-0.2.2 .github/workflows/config.yml
br_documents-0.2.1 .github/workflows/config.yml