Sha256: 9521c97e9862c20934ea61b8f56a716cb1ac2b893a56e4ad9d12abb2b7695a2f

Contents?: true

Size: 1.48 KB

Versions: 6

Compression:

Stored size: 1.48 KB

Contents

version: 2

template:
  restore-bundle: &restore-bundle
    restore_cache:
      name: Restore bundled gem
      key: gem-bundle-v1-{{ checksum "Gemfile.lock" }}
  save-bundle: &save-bundle
    save_cache:
      name: Save bundled gem
      key: gem-bundle-v1-{{ checksum "Gemfile.lock" }}
      paths:
        - ./vendor/bundle
        - /usr/local/bundle/config

jobs:
  build: &containerized
    docker:
      - image: cimg/ruby:2.7.6
        environment:
        - REDIS_DEFAULT: redis://127.0.0.1:6379
      - image: redis:3.2

    working_directory: ~/repo

    steps:
      - checkout
      - <<: *restore-bundle
      - run:
          name: install dependencies
          command: |
            bundle install --jobs=4 --retry=3 --path vendor/bundle
      - <<: *save-bundle

      - run: dockerize -wait tcp://localhost:6379 -timeout 5s

      - run:
          name: run tests
          command: |
            mkdir /tmp/test-results
            bundle exec rspec --format progress \
                            --format RspecJunitFormatter \
                            --out /tmp/test-results/rspec.xml \
                            --format progress \
                            $(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
      # collect reports
      - store_test_results:
          path: /tmp/test-results
      - store_artifacts:
          path: /tmp/test-results
          destination: test-results

workflows:
  version: 2
  build:
    jobs:
      - build

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
portal-connectors-0.58.39xc .circleci/config.yml
portal-connectors-0.58.39xb .circleci/config.yml
portal-connectors-0.58.39xa .circleci/config.yml
portal-connectors-0.58.39fj .circleci/config.yml
portal-connectors-0.58.39fg .circleci/config.yml
portal-connectors-0.58.38xn .circleci/config.yml