Sha256: 53edd55b898091421c5f3c9501e2afbc6c1593ad8dc5dba4a693b3265f45145e

Contents?: true

Size: 976 Bytes

Versions: 1

Compression:

Stored size: 976 Bytes

Contents

version: 2.1 # Use 2.1 to enable using orbs and other features.

# Declare the orbs that we'll use in our config.
orbs:
  ruby: circleci/ruby@1.0

jobs:
  rubocop:
    parallelism: 1
    docker:
      - image: cimg/ruby:3.1-node
    steps:
      - checkout
      - ruby/install-deps
      - run:
          name: Run Rubocop
          command: bundle exec rubocop
  test:
    parameters:
      ruby-image:
        type: string
    parallelism: 1
    docker:
      - image: << parameters.ruby-image >>
    steps:
      - checkout
      - ruby/install-deps
      - run:
          name: Run tests
          command: bundle exec rspec -fd

workflows:
  version: 2
  checks:
    jobs:
      - rubocop
      - test:
          matrix:
              parameters:
                ruby-image:
                  - cimg/ruby:2.5-node
                  - cimg/ruby:2.6-node
                  - cimg/ruby:2.7-node
                  - cimg/ruby:3.0-node
                  - cimg/ruby:3.1-node

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-openai-1.5.0 .circleci/config.yml