Cleanup AZP config similarly to ansible-core did some years ago. (#846)

pull/848/head
Felix Fontein 2025-02-10 22:52:24 +01:00 committed by GitHub
parent 673b18d9a9
commit a42e541326
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 12 deletions

View File

@ -36,8 +36,6 @@ variables:
value: ansible_collections/community/crypto value: ansible_collections/community/crypto
- name: coverageBranches - name: coverageBranches
value: main value: main
- name: pipelinesCoverage
value: coverage
- name: entryPoint - name: entryPoint
value: tests/utils/shippable/shippable.sh value: tests/utils/shippable/shippable.sh
- name: fetchDepth - name: fetchDepth

View File

@ -28,16 +28,6 @@ jobs:
- bash: .azure-pipelines/scripts/report-coverage.sh - bash: .azure-pipelines/scripts/report-coverage.sh
displayName: Generate Coverage Report displayName: Generate Coverage Report
condition: gt(variables.coverageFileCount, 0) condition: gt(variables.coverageFileCount, 0)
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: Cobertura
# Azure Pipelines only accepts a single coverage data file.
# That means only Python or PowerShell coverage can be uploaded, but not both.
# Set the "pipelinesCoverage" variable to determine which type is uploaded.
# Use "coverage" for Python and "coverage-powershell" for PowerShell.
summaryFileLocation: "$(outputPath)/reports/$(pipelinesCoverage).xml"
displayName: Publish to Azure Pipelines
condition: gt(variables.coverageFileCount, 0)
- bash: .azure-pipelines/scripts/publish-codecov.py "$(outputPath)" - bash: .azure-pipelines/scripts/publish-codecov.py "$(outputPath)"
displayName: Publish to codecov.io displayName: Publish to codecov.io
condition: gt(variables.coverageFileCount, 0) condition: gt(variables.coverageFileCount, 0)