We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5ed58a commit 611ed4cCopy full SHA for 611ed4c
.azure-pipelines/build-template.yml
@@ -77,7 +77,9 @@ jobs:
77
78
./tests/tests
79
redis-cli FLUSHALL
80
- pytest
+ pytest --cov=. --cov-report=xml
81
+ mv coverage.xml tests/coverage.xml
82
+ gcovr -r ./ -e ".*/swsscommon_wrap.cpp" --exclude-unreachable-branches --exclude-throw-branches -x --xml-pretty -o coverage.xml
83
displayName: "Run swss common unit tests"
84
- publish: $(System.DefaultWorkingDirectory)/
85
artifact: ${{ parameters.artifact_name }}
0 commit comments