Sha256: b9f5060c2aea93cc1e70c61b3c51b8606a4e352c89fa106d34054ed43a811951

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

version: 2.1

commands:
  build:
    steps:
      - checkout
      # We can't use restore_cache because we don't include a Gemfile.lock in the Gem repo
      - run:
          name: install dependencies
          command: |
            bundle install --jobs=4 --retry=3 --path vendor/bundle
      - run: bundle exec standardrb
      - run:
          name: run tests
          command: |
            mkdir log/
            mkdir /tmp/test-results
            TEST_FILES="$(circleci tests glob "spec/bing_ads_ruby_sdk/**/*_spec.rb" | \
              circleci tests split --split-by=timings)"

            bundle exec rspec \
              --format progress \
              --format RspecJunitFormatter \
              --out /tmp/test-results/rspec.xml \
              --format progress \
              $TEST_FILES
      # collect reports
      - store_test_results:
          path: /tmp/test-results
      - store_artifacts:
          path: /tmp/test-results
          destination: test-results

jobs:
  build_2_x:
    docker:
      - image: ruby:2.7.6
    working_directory: ~/repo
    steps:
      - build

  build_3_x:
    docker:
      - image: ruby:3.1.2
    working_directory: ~/repo
    steps:
      - build

workflows:
  version: 2
  build:
    jobs:
      - build_2_x
      - build_3_x

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bing_ads_ruby_sdk-1.5.0 .circleci/config.yml