Sha256: 7b7925883dc431d251085ac034d89a7478364834f0a0e635bc9330c2937cb90a

Contents?: true

Size: 1.42 KB

Versions: 6

Compression:

Stored size: 1.42 KB

Contents

version: 2.1

executors:
  default:
    working_directory: ~/repo
    description: Image for testing 3_1
    docker:
      - image: circleci/ruby:2.7.1
caches:
  - &bundle_cache_full v1-repo-{{ checksum "Gemfile.lock" }}
  - &bundle_cache v1-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:
    description: command to start linters
    steps:
      - run:
          name: rubocop
          command: bundle exec rubocop
      - run:
          name: fasterer
          command: bundle exec fasterer
  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
  build:
    jobs:
      - lintering
      - run_specs:
          requires:
            - lintering

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
code_brkr_game_training-0.9.2 .circleci/config.yml
code_brkr_game_training-0.9.1 .circleci/config.yml
code_brkr_game_training-0.8.5 .circleci/config.yml
code_brkr_game_training-0.8.0 .circleci/config.yml
code_brkr_game_training-0.7.5 .circleci/config.yml
code_brkr_game_training-0.7.2 .circleci/config.yml