Sha256: 530bc0763aa9b3b6640fb4d05a02d5a7f78d0edf90f7490df28eadac2192ecd4

Contents?: true

Size: 950 Bytes

Versions: 2

Compression:

Stored size: 950 Bytes

Contents

name: RSpec
on: [push, pull_request]

jobs:
  rspec:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest]
        ruby: [2.7]
    runs-on: ${{ matrix.os }}
    services:
      redis:
        image: redis
        ports:
          - 6379:6379

    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - name: RSpec run
        run: |
          bash -c "
            bundle exec rspec
            [[ $? -ne 2 ]]
          "
  rspec-all:
    needs: rspec
    strategy:
      fail-fast: false
      matrix:
        os: [ ubuntu-latest ]
        ruby: [2.5, 2.6, '3.0', head, truffleruby]
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - run: bundle exec rspec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
legionio-1.2.1 .github/workflows/rspec.yml
legionio-1.2.0 .github/workflows/rspec.yml