Sha256: b8081681584657d79d116a334aab671d51d3f8fe57642b3a830adb03cb40fa55

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

version: 2.1
workflows:
  version: 2
  ruby-exclaim:
    jobs:
      - build:
          context: Salsify
jobs:
  build:
    docker:
      - image: salsify/ruby_ci:2.7.2
    environment:
      RACK_ENV: "test"
      RAILS_ENV: "test"
      CIRCLE_TEST_REPORTS: "test-results"
    working_directory: ~/ruby-exclaim
    steps:
      - checkout
      - restore_cache:
          keys:
            - v1-gems-ruby-2.7.2-{{ checksum "ruby-exclaim.gemspec" }}-{{ checksum "Gemfile" }}
            - v1-gems-ruby-2.7.2-
      - run:
          name: Install Gems
          command: |
            if ! bundle check --path=vendor/bundle; then
              bundle install --path=vendor/bundle --jobs=4 --retry=3
              bundle clean
            fi
      - save_cache:
          key: v1-gems-ruby-2.7.2-{{ checksum "ruby-exclaim.gemspec" }}-{{ checksum "Gemfile" }}
          paths:
            - "vendor/bundle"
            - "gemfiles/vendor/bundle"
      - run:
          name: Run Rubocop
          command: bundle exec rubocop
      - run:
          name: Run Tests
          command: |
            bundle exec rspec --format RspecJunitFormatter --out $CIRCLE_TEST_REPORTS/rspec/junit.xml --format progress spec
      - store_test_results:
          path: "test-results"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-exclaim-0.1.0 .circleci/config.yml
ruby-exclaim-0.0.0 .circleci/config.yml