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

Disable coverage report until it is fixed. #186

Merged
merged 3 commits into from
Jan 5, 2023
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
47 changes: 24 additions & 23 deletions .azure-pipelines/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,27 @@ stages:
parameters:
ciTarget: $(CI_TARGET)

- stage: coverage
dependsOn: ["test"]
pool: "x64-large"
jobs:
- job: coverage
displayName: "do_ci.sh"
dependsOn: []
strategy:
maxParallel: 1
matrix:
coverage:
CI_TARGET: "coverage"
timeoutInMinutes: 120
steps:
- template: bazel.yml
parameters:
ciTarget: $(CI_TARGET)
- task: PublishPipelineArtifact@1
condition: always()
displayName: 'Publish the line coverage report'
inputs:
targetPath: $(System.DefaultWorkingDirectory)/salvo/coverage/html.zip
artifactName: CoverageReport
# TODO(#187): Re-enable once coverage reporting is fixed.
#- stage: coverage
# dependsOn: ["test"]
# pool: "x64-large"
# jobs:
# - job: coverage
# displayName: "do_ci.sh"
# dependsOn: []
# strategy:
# maxParallel: 1
# matrix:
# coverage:
# CI_TARGET: "coverage"
# timeoutInMinutes: 120
# steps:
# - template: bazel.yml
# parameters:
# ciTarget: $(CI_TARGET)
# - task: PublishPipelineArtifact@1
# condition: always()
# displayName: 'Publish the line coverage report'
# inputs:
# targetPath: $(System.DefaultWorkingDirectory)/salvo/coverage/html.zip
# artifactName: CoverageReport-$(System.JobAttempt)
2 changes: 1 addition & 1 deletion ci/do_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function test_salvo() {
pushd salvo

setup_salvo_venv
tools/coverage.sh
bazel test //...

popd
}
Expand Down