mirror of
https://github.com/inspec/inspec
synced 2024-11-22 12:43:07 +00:00
Move coverage tests to its own pipeline to keep verify pipeline public
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
4d04d525e1
commit
ef72d3adac
3 changed files with 29 additions and 2 deletions
|
@ -30,6 +30,15 @@ pipelines:
|
|||
- SLOW: 1
|
||||
- NO_AWS: 1
|
||||
- MT_CPU: 5
|
||||
- coverage:
|
||||
description: Unit test coverage
|
||||
# Private due to use of tokens
|
||||
trigger: pull_request
|
||||
env:
|
||||
- LANG: "C.UTF-8"
|
||||
- SLOW: 1
|
||||
- NO_AWS: 1
|
||||
- MT_CPU: 5
|
||||
- integration/resources:
|
||||
description: Test core resources with test-kitchen.
|
||||
definition: .expeditor/integration.resources.yml
|
||||
|
|
19
.expeditor/coverage.pipeline.yml
Normal file
19
.expeditor/coverage.pipeline.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
expeditor:
|
||||
defaults:
|
||||
buildkite:
|
||||
timeout_in_minutes: 45
|
||||
retry:
|
||||
automatic:
|
||||
limit: 1
|
||||
|
||||
steps:
|
||||
|
||||
- label: coverage-ruby-3.0
|
||||
command:
|
||||
- CI_ENABLE_COVERAGE=1 RAKE_TASK=test:unit /workdir/.expeditor/buildkite/verify.sh
|
||||
expeditor:
|
||||
secrets: true
|
||||
executor:
|
||||
docker:
|
||||
image: ruby:3.0
|
|
@ -27,9 +27,8 @@ steps:
|
|||
|
||||
- label: run-tests-ruby-3.0
|
||||
command:
|
||||
- CI_ENABLE_COVERAGE=1 /workdir/.expeditor/buildkite/verify.sh
|
||||
- /workdir/.expeditor/buildkite/verify.sh
|
||||
expeditor:
|
||||
secrets: true
|
||||
executor:
|
||||
docker:
|
||||
image: ruby:3.0
|
||||
|
|
Loading…
Reference in a new issue