Sha256: 0be85d1b488d32a7a4dc081082bf9c9b05d82bf4a349f680197d96a635c2d6b4

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

version: 2.1
orbs:
  ruby: circleci/ruby@1.1.1

jobs:
  rspec:
    parameters:
      ruby-version:
        type: string
        default: "latest"
      codecov:
        type: boolean
        default: false
    docker:
      - image: "cimg/ruby:<< parameters.ruby-version >>"
    executor: ruby/default
    environment:
      CODECOV: << parameters.codecov >>
    steps:
      - checkout
      - ruby/install-deps:
          bundler-version: 2.1.4
      - ruby/rspec-test
  rubocop:
    docker:
      - image: cimg/ruby:2.7.2
    executor: ruby/default
    steps:
      - checkout
      - ruby/install-deps:
          bundler-version: 2.1.4
      - ruby/rubocop-check
  features:
    docker:
      - image: cimg/ruby:2.7.2
    executor: ruby/default
    steps:
      - checkout
      - ruby/install-deps:
          bundler-version: 2.1.4
      - run:
          name: Feature tests
          command: bundle exec rspec features

workflows:
  build:
    jobs:
      - rspec:
          name: "rspec-ruby:2.7"
          ruby-version: "2.7"
          codecov: true
      - rspec:
          name: "rspec-ruby:2.6"
          ruby-version: "2.6"
      - rspec:
          name: "rspec-ruby:2.5"
          ruby-version: "2.5"
      - rubocop
      - features

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git_context-0.3.0 .circleci/config.yml