Sha256: 2184be3f1d2bb6950fcf324f43032c2c028a894cf9b2c353e68af9b3721931ce

Contents?: true

Size: 1.5 KB

Versions: 7

Compression:

Stored size: 1.5 KB

Contents

version: 2
references:
  unit: &unit
    run:
      name: Run test suite
      command: PARALLEL_SPLIT_TEST_PROCESSES=25 bundle exec parallel_split_test spec/
      environment:
        HATCHET_EXPENSIVE_MODE: 1 # !!!! WARNING !!!! ONLY RUN THIS IF YOU WORK FOR HEROKU !!!! WARNING !!!!
  restore: &restore
    restore_cache:
      keys:
        - v1_bundler_deps-{{ .Environment.CIRCLE_JOB }}
  save: &save
    save_cache:
      paths:
        - ./vendor/bundle
      key: v1_bundler_deps-{{ .Environment.CIRCLE_JOB }} # CIRCLE_JOB e.g. "ruby-2.5"
  hatchet_setup: &hatchet_setup
    run:
      name: Hatchet setup
      command: |
        bundle exec hatchet ci:setup
  bundle: &bundle
    run:
      name: install dependencies
      command: |
        bundle install --jobs=4 --retry=3 --path vendor/bundle
        bundle update
        bundle clean

jobs:
  "ruby-2.5":
    docker:
      - image: circleci/ruby:2.5
    steps:
      - checkout
      - <<: *restore
      - <<: *bundle
      - <<: *hatchet_setup
      - <<: *unit
      - <<: *save
  "ruby-2.6":
    docker:
      - image: circleci/ruby:2.6
    steps:
      - checkout
      - <<: *restore
      - <<: *bundle
      - <<: *hatchet_setup
      - <<: *unit
      - <<: *save
  "ruby-2.7":
    docker:
      - image: circleci/ruby:2.7
    steps:
      - checkout
      - <<: *restore
      - <<: *bundle
      - <<: *hatchet_setup
      - <<: *unit
      - <<: *save

workflows:
  version: 2
  build:
    jobs:
      - "ruby-2.5"
      - "ruby-2.6"
      - "ruby-2.7"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
heroku_hatchet-7.3.0 .circleci/config.yml
heroku_hatchet-7.2.0 .circleci/config.yml
heroku_hatchet-7.1.3 .circleci/config.yml
heroku_hatchet-7.1.2 .circleci/config.yml
heroku_hatchet-7.1.1 .circleci/config.yml
heroku_hatchet-7.1.0 .circleci/config.yml
heroku_hatchet-7.0.0 .circleci/config.yml