Sha256: e8e654151cd9c2cd84e80d80efdc4a7f960b58b221cf326d5fe9d785cc59777e

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

name: Continuous Integration

on: 
  push: 
    paths-ignore:
      - ".github/**"
      - ".VERSION"
  pull_request:
    paths-ignore:
      - ".github/**"
      - ".VERSION"
jobs:
  tests:
    if: "!contains(github.event.head_commit.message, 'skip ci')"
    runs-on: ubuntu-latest

    strategy:
      fail-fast: true

    steps:
      - name: Checkout source code
        uses: actions/checkout@v2

      - name: Install required ruby
        uses: ruby/setup-ruby@v1

      - name: Setup cache key and directory for gems cache
        uses: actions/cache@v2.1.4
        with:
          path: vendor/bundle
          key: ${{ runner.os  }}-gems-${{ hashFiles('**/Gemfile.lock')  }}
          restore-keys: |
            ${{ runner.os  }}-gems-

      - name: Bundle install
        run: |
          bundle config path vendor/bundle
          bundle config set jobs 4
          bundle config set retry 3
          bundle install

      - name: Run rubocop
        run: | 
          bundle exec rubocop --parallel

      - name: Run tests
        run: bundle exec rspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
finapps-5.4.0 .github/workflows/ci.yaml