nfedyashev/retryable

View on GitHub
.github/workflows/ci.yml

Summary

Maintainability
Test Coverage
name: CI

on:
  push:
    branches: ['master']
  pull_request:
    branches: ['**']

jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest]
        # TODO restore 2.2 once RubyGems issue is resolved?
        ruby: ['1.9', '2.0', '2.1', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', head]
    runs-on: ${{ matrix.os }}
    env:
      BUNDLE_WITHOUT: development
    steps:
      - uses: actions/checkout@v3
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - run: bundle exec rake
        continue-on-error: ${{ matrix.ruby == 'head' }}