Sha256: ae6cf399ba3091c9e70ceb38415ebc8f9abcaff5981cc9a58791d69fdbe04723

Contents?: true

Size: 1.04 KB

Versions: 4

Compression:

Stored size: 1.04 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
        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

4 entries across 4 versions & 1 rubygems

Version Path
finapps-5.3.0 .github/workflows/ci.yaml
finapps-5.2.1 .github/workflows/ci.yaml
finapps-5.2.0 .github/workflows/ci.yaml
finapps-5.1.0 .github/workflows/ci.yaml