Sha256: c563b76e1a24f7aec1ec89ec868b95600fd9a689bbc00bcd72db5eef756edbdd

Contents?: true

Size: 1.54 KB

Versions: 5

Compression:

Stored size: 1.54 KB

Contents

name: Ruby specs

on: [push, pull_request]

jobs:
  build:
    name: Ruby specs
    runs-on: ${{ matrix.os }}
    continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' || matrix.experimental }}
    env:
      BUNDLE_JOBS: 4
      BUNDLE_RETRY: 3
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest]
        ruby: [
          2.4,
          2.5,
          2.6,
          2.7
        ]
        gemfile: [
          "gemfiles/Gemfile-rails.5.2.x",
          "gemfiles/Gemfile-rails.6.0.x"
        ]
        exclude:
          - ruby: "2.4"
            gemfile: gemfiles/Gemfile-rails.6.0.x
        experimental: [false]
        include:
          - ruby: 2.7
            os: ubuntu-latest
            gemfile: gemfiles/Gemfile-rails-edge
            experimental: true

    steps:
      - uses: actions/checkout@v2
      - uses: actions/cache@v2
        with:
          path: /home/runner/bundle
          key: bundle-use-ruby-${{ matrix.ruby }}-${{ matrix.gemfile }}-gems-${{ hashFiles(matrix.gemfile) }}-${{ hashFiles('**/*.gemspec') }}
          restore-keys: |
            bundle-use-ruby-${{ matrix.ruby }}-${{ matrix.gemfile }}-gems-

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

      - name: Bundle install
        run: |
          gem install bundler -v 2.1.4
          bundle config path /home/runner/bundle
          bundle config --global gemfile ${{ matrix.gemfile }}
          bundle install --jobs 4 --retry 3

      - name: Ruby specs
        run: bundle exec rake test

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
jetpacker-0.7.0 .github/workflows/ruby.yml
jetpacker-0.6.0 .github/workflows/ruby.yml
webpacker-5.4.3 .github/workflows/ruby.yml
webpacker-5.4.2 .github/workflows/ruby.yml
webpacker-5.4.1 .github/workflows/ruby.yml