mirror of
https://github.com/inspec/inspec
synced 2024-11-26 14:40:26 +00:00
Add test coverage to pipeline
Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
parent
c23b4ea135
commit
904081d44b
2 changed files with 16 additions and 0 deletions
|
@ -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:
|
||||||
|
|
10
.expeditor/coverage.pipeline.yml
Normal file
10
.expeditor/coverage.pipeline.yml
Normal 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
|
Loading…
Reference in a new issue