Sha256: 14fcf36b9bf0c3f683f4091df148e4e0d0094f6f659ccb473e42d67ef4712bbe

Contents?: true

Size: 1.51 KB

Versions: 7

Compression:

Stored size: 1.51 KB

Contents

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

name: Ruby

on:
  push:
    branches: [ master ]
  pull_request:

jobs:
  rspec:
    runs-on: ubuntu-latest
    env:
      BUNDLE_JOBS: 4
      BUNDLE_RETRY: 3
    strategy:
      fail-fast: false
      matrix:
        ruby: [2.6, 2.7]
        gemfile: [
          "gemfiles/5.2.gemfile",
          "gemfiles/6.0.gemfile",
        ]
    steps:
    - name: Install packages
      run: |
        sudo apt update -y
        sudo apt install -y libsqlite3-dev
    - uses: actions/checkout@v2
    - uses: actions/cache@v1
      with:
        path: /home/runner/bundle
        key: bundle-${{ matrix.ruby }}-${{ matrix.gemfile }}-${{ hashFiles(matrix.gemfile) }}-${{ hashFiles('**/*.gemspec') }}
        restore-keys: |
          bundle-${{ matrix.ruby }}-${{ matrix.gemfile }}-
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
    - name: Install dependencies
      run: |
        bundle config path /home/runner/bundle
        bundle config --global gemfile ${{ matrix.gemfile }}
        bundle install
        bundle update
        bundle clean
    - name: Run rspec
      run: bundle exec rspec

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
copy_tuner_client-0.10.0 .github/workflows/rspec.yml
copy_tuner_client-0.9.0 .github/workflows/rspec.yml
copy_tuner_client-0.8.1 .github/workflows/rspec.yml
copy_tuner_client-0.8.0 .github/workflows/rspec.yml
copy_tuner_client-0.7.0 .github/workflows/rspec.yml
copy_tuner_client-0.6.2 .github/workflows/rspec.yml
copy_tuner_client-0.6.1 .github/workflows/rspec.yml