Sha256: 4ae3cb3e0dc949e52efc9ee55afafb1f189c6aa9c56684449f00d53ad940618f

Contents?: true

Size: 1.23 KB

Versions: 5

Compression:

Stored size: 1.23 KB

Contents

version: 2.1

executors:
  default:
    working_directory: ~/codebraker
    docker:
      - image: circleci/ruby:2.7.2

caches:
  - &bundle_cache_full v2-repo-{{ checksum "Gemfile.lock" }}
  - &bundle_cache v2-repo-

commands:
  defaults:
    steps:
      - checkout
      - restore_cache:
          keys:
            - *bundle_cache_full
            - *bundle_cache
      - run: bundle install --path vendor/bundle
      - save_cache:
          key: *bundle_cache_full
          paths:
            - vendor/bundle
  run_linters:
    steps:
      - run:
          name: rubocop
          command: bundle exec rubocop
  run_specs:
    steps:
      - run:
          name: run specs
          command: |
            mkdir /tmp/test-results
            TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
            bundle exec rspec --format progress \
                              --out /tmp/test-results/rspec.xml \
                              $TEST_FILES

jobs:
  lintering:
    executor: default
    steps:
      - defaults
      - run_linters
  run_specs:
    executor: default
    steps:
      - defaults
      - run_specs

workflows:
  version: 2.1
  build:
    jobs:
      - lintering
      - run_specs

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
codebreaker_al-0.1.2 .circleci/config.yml
codebreaker_al-0.1.1 .circleci/config.yml
codebreaker_al_rg-0.1.0 .circleci/config.yml
codebreaker_al-0.1.0 .circleci/config.yml
codebreacker_al-0.1.0 .circleci/config.yml