Sha256: 07fae3dd44ac7e1d2da8ca4a28992e5d8b285d5a735f11455cced1e51052ca58

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 version
        uses: ruby/setup-ruby@v1

      - name: Setup cache key and directory for gems cache
        uses: actions/cache@v2
        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 rspec
        run: bundle exec rspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
finapps_core-5.0.15 .github/workflows/ci.yaml