Skip to content

Commit 8ba7215

Browse files
committed
Use root directory when generating coverage summary
1 parent cc7e325 commit 8ba7215

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.azure-pipelines/build-template.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ jobs:
7676
7777
sudo ./tests/tests && redis-cli FLUSHALL && pytest
7878
79-
cd common
8079
mkdir -p htmlcov
8180
gcovr -r ./ --html --html-details -o htmlcov/index.html
8281
gcovr -r ./ -x -o coverage.xml
@@ -96,6 +95,6 @@ jobs:
9695
- task: PublishCodeCoverageResults@1
9796
inputs:
9897
codeCoverageTool: Cobertura
99-
summaryFileLocation: '$(System.DefaultWorkingDirectory)/common/coverage.xml'
98+
summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage.xml'
10099
reportDirectory: '$(System.DefaultWorkingDirectory)/htmlcov/'
101100
displayName: 'Publish test coverage'

0 commit comments

Comments
 (0)