Sha256: 0ac4bbaeb113802e2e1bce6bee1419af414f5263534bb52518e9a7729fad6820
Contents?: true
Size: 1.37 KB
Versions: 19
Compression:
Stored size: 1.37 KB
Contents
# Advanced CircleCI workflow config with file sharing # and separate jobs for tests and running coverage checks. version: 2 jobs: test: docker: - image: circleci/ruby:2.5-browsers steps: - checkout - run: name: Install dependencies command: | sudo apt-get install cmake bundle install - run: name: Run RSpec command: | mkdir -p /tmp/coverage bundle exec rspec - run: name: Store coverage report command: mv coverage/lcov/project.lcov /tmp/coverage/ - persist_to_workspace: root: /tmp/coverage paths: . - store_artifacts: path: /tmp/coverage destination: coverage analyse_coverage: docker: - image: circleci/ruby:2.5-browsers steps: - checkout - attach_workspace: at: /tmp/coverage # gives access to project's LCOV report - run: name: Check coverage command: | sudo apt-get install cmake gem install undercover undercover --lcov /tmp/coverage/project.lcov \ --compare origin/master workflows: version: 2 build_and_test: jobs: - test - analyse_coverage: requires: - test filters: branches: ignore: master
Version data entries
19 entries across 19 versions & 1 rubygems