Sha256: ca97c242a8ce4ac6d45528024c24a662f7b75dc9f89bffc7e335f4f66ca66ea4

Contents?: true

Size: 1.34 KB

Versions: 1

Compression:

Stored size: 1.34 KB

Contents

version: 2.1
workflows:
  test-workflow:
    jobs:
      - build:
          context: EdgePetrolApp
jobs:
  build:
    docker:
    - image: circleci/ruby:2.7.1
      environment:
        RUBYOPT: '-W0 -KU -E utf-8:utf-8'

    steps:
    - checkout
    - run:
        name: Install Cmake
        command: sudo apt-get install cmake
    - restore_cache:
        keys:
          - edge-bundle-{{ checksum "Gemfile.lock" }}
          - edge-bundle-
    - run:
        name: Bundle Check or Install
        command: bundle check --path vendor/bundle || bundle install --jobs=4 --retry=3 --path vendor/bundle
    - save_cache:
        key: edge-bundle-{{ checksum "Gemfile.lock" }}
        paths:
          - vendor/bundle
    - run:
        name: Lint code
        command: bundle exec rubocop
    - run:
        name: Execute Rspec Tests
        command: |
          mkdir -p /tmp/coverage
          bundle exec rspec
    - run:
        name: Store coverage report
        command: mv coverage/coverage.json /tmp/coverage/
    - persist_to_workspace:
        root: /tmp/coverage
        paths: .
    - store_artifacts:
        path: /tmp/coverage
        destination: coverage
    - run:
        name: Run Danger
        command: bundle exec danger
    # - run:
    #     name: build and upload gem to rubygems
    #     command: |-
    #       gem build danger-rcov.gemspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
danger-rcov-1.0.2 .circleci/config.yml