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:
Clinton Wolfe 2022-02-17 15:16:44 -05:00
parent 4d04d525e1
commit ef72d3adac
3 changed files with 29 additions and 2 deletions

View file

@ -30,6 +30,15 @@ pipelines:
- SLOW: 1 - SLOW: 1
- NO_AWS: 1 - NO_AWS: 1
- MT_CPU: 5 - 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: - integration/resources:
description: Test core resources with test-kitchen. description: Test core resources with test-kitchen.
definition: .expeditor/integration.resources.yml definition: .expeditor/integration.resources.yml

View 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

View file

@ -27,9 +27,8 @@ steps:
- label: run-tests-ruby-3.0 - label: run-tests-ruby-3.0
command: command:
- CI_ENABLE_COVERAGE=1 /workdir/.expeditor/buildkite/verify.sh - /workdir/.expeditor/buildkite/verify.sh
expeditor: expeditor:
secrets: true
executor: executor:
docker: docker:
image: ruby:3.0 image: ruby:3.0