Sha256: 5499b4e635dcc431c1cf3b1217274aa1d9415821e3682b888e94ef154ccc5d1d

Contents?: true

Size: 1.86 KB

Versions: 2

Compression:

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

jobs:
  test_31:
    runs-on: ubuntu-latest
    container: ruby:3.1

    services:
      redis:
        image: redis

    steps:
    - uses: actions/checkout@v2
    - name: Install dependencies
      run: gem install bundler && bundle install
    - name: Run tests
      run: bin/rake test
      env:
        REDIS_URL: redis://redis:6379

  test_30:
    runs-on: ubuntu-latest
    container: ruby:3.0

    services:
      redis:
        image: redis

    steps:
    - uses: actions/checkout@v2
    - name: Install dependencies
      run: gem install bundler && bundle install
    - name: Run tests
      run: bin/rake test
      env:
        REDIS_URL: redis://redis:6379

  test_27:
    runs-on: ubuntu-latest
    container: ruby:2.7

    services:
      redis:
        image: redis

    steps:
    - uses: actions/checkout@v2
    - name: Install dependencies
      run: gem install bundler && bundle install
    - name: Run tests
      run: bin/rake test
      env:
        REDIS_URL: redis://redis:6379

  typecheck:
    runs-on: ubuntu-latest
    container: ruby:2.7
    steps:
    - uses: actions/checkout@v2
    - name: Install dependencies
      run: gem install bundler && bundle install
    - name: Typecheck Ruby code
      run: bin/srb tc

  lint:
    runs-on: ubuntu-latest
    container: ruby:2.7
    steps:
    - uses: actions/checkout@v2
    - name: Install dependencies
      run: gem install bundler && bundle install
    - name: Lint Ruby code
      run: bin/rubocop

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
minitest-distributed-0.2.7 .github/workflows/ruby.yml
minitest-distributed-0.2.6 .github/workflows/ruby.yml