Add test coverage to pipeline

Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
Miah Johnson 2019-07-05 13:37:13 -07:00
parent c23b4ea135
commit 904081d44b
2 changed files with 16 additions and 0 deletions

View file

@ -29,6 +29,12 @@ pipelines:
env: env:
- SLOW: 1 - SLOW: 1
- NO_AWS: 1 - NO_AWS: 1
- coverage:
description: Generate test coverage report
public: true
env:
- CI_ENABLE_COVERAGE: true
- SLOW: 1
# Slack channel in Chef Software slack to send notifications about build failures, etc # Slack channel in Chef Software slack to send notifications about build failures, etc
slack: slack:

View file

@ -0,0 +1,10 @@
steps:
- label: coverage
command:
- bundle install --jobs=7 --retry=3 --without tools maintenance deploy
- bundle exec rake test
expeditor:
executor:
docker:
image: ruby:2.6-stretch