Sha256: baa5cd8a4f47e32a432c72bd617d327c882c03ebebd17917f7c60e02241fb32e

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 KB

Contents

name: RSpec

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: [push, pull_request]

jobs:
  # This workflow contains a single job "rspec"
  rspec:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby_version: [2.6, 2.7, 3.0, 3.1, 3.2]

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@v2

      - name: Set up Ruby ${{ matrix.ruby_version }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby_version }}

      - name: Install gems
        run: |
          bundle config path vendor/bundle
          bundle install --jobs 4 --retry 3

      - name: Cache gems
        uses: actions/cache@v1
        with:
          path: vendor/bundle
          key: ${{ runner.os }}-${{ matrix.ruby_version }}-gems-${{ hashFiles('**/Gemfile.lock') }}
          restore-keys: |
            ${{ runner.os }}-${{ matrix.ruby_version }}-gems-

      - name: Run RSpec
        run: bundle exec rspec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec-graphql_matchers-2.0.0.pre.rc.0 .github/workflows/rspec.yml
rspec-graphql_matchers-1.4.0 .github/workflows/rspec.yml