Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move back merged coverage report to build folder #5799

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ steps:
command: |
.buildkite/scripts/steps/merge.sh
artifact_paths:
- "TEST-go-unit.cov"
- "build/TEST-go-unit.cov"
agents:
image: "golang:1.22.6"
depends_on:
Expand Down Expand Up @@ -225,7 +225,7 @@ steps:
agents:
image: "docker.elastic.co/cloud-ci/sonarqube/buildkite-scanner:latest"
command:
- "buildkite-agent artifact download --step merge-coverage TEST-go-unit.cov ."
- "buildkite-agent artifact download --step merge-coverage build/TEST-go-unit.cov ."
- "/scan-source-code.sh"
depends_on:
- "merge-coverage"
Expand Down
3 changes: 2 additions & 1 deletion .buildkite/scripts/steps/merge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
set -euo pipefail
set -x # for debugging

MERGED_COV_FILE="TEST-go-unit.cov"
mkdir -p build
MERGED_COV_FILE="build/TEST-go-unit.cov"

go install github.com/wadey/gocovmerge@latest

Expand Down