Sha256: f7e54a70a4649a2057a5de00038da6f7bef9193eacf0b9f4e27c5a34837a3eba

Contents?: true

Size: 917 Bytes

Versions: 1

Compression:

Stored size: 917 Bytes

Contents

version: 2
jobs:
  build:
    docker:
      - image: circleci/ruby:2.6-node-browsers

    working_directory: ~/repo

    steps:
      - checkout

      - run:
          name: Install dependencies
          command: bundle install --jobs=4 --retry=3 --path vendor/bundle

      - run:
          name: Install CodeClimate test coverage reporter
          command: |
            curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
            chmod +x ./cc-test-reporter
            ./cc-test-reporter before-build

      - run:
          name: Run tests
          command: |
            mkdir /tmp/test-results
            bundle exec rspec --format progress --format RspecJunitFormatter --out /tmp/test-results/rspec.xml

      - run:
          name: Upload test coverage report to CodeClimate
          command: ./cc-test-reporter after-build --exit-code $?

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
metacrunch-file-1.3.1 .circleci/config.yml