Sha256: 92a8b738640213a41cddab4746b179f5abeaf62e58ce9c6918ca68c7c5b553f1

Contents?: true

Size: 1.09 KB

Versions: 7

Compression:

Stored size: 1.09 KB

Contents

name: Verify

on:
  push:
    branches:
      - '*'
  pull_request:
    branches:
      - '*'

jobs:
  test:
    runs-on: ubuntu-16.04
    timeout-minutes: 40

    strategy:
      fail-fast: true
      matrix:
        ruby:
          - 2.7
        test_cmd:
          - bundle exec rspec

    env:
      RAILS_ENV: test

    name: Ruby ${{ matrix.ruby }} - ${{ matrix.test_cmd }}
    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - uses: actions/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}

      - name: Setup bundler
        run: |
          gem install bundler

      - 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 install --jobs 4 --retry 3

      - name: ${{ matrix.test_cmd }}
        run: |
          echo "${CMD}"
          bash -c "${CMD}"
        env:
          CMD: ${{ matrix.test_cmd }}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rex-text-0.2.36 .github/workflows/verify.yml
rex-text-0.2.35 .github/workflows/verify.yml
rex-text-0.2.34 .github/workflows/verify.yml
rex-text-0.2.33 .github/workflows/verify.yml
rex-text-0.2.32 .github/workflows/verify.yml
rex-text-0.2.31 .github/workflows/verify.yml
rex-text-0.2.30 .github/workflows/verify.yml