Skip to content

Commit 7a78703

Browse files
Install dotnet core to fix python gcov warning for code covery color bar showing (#215)
**- What I did** fix python gcov warning "Please install dotnet core to enable automatic generation of Html report" **- How I did it** install dotnet core
1 parent e0f36a5 commit 7a78703

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

azure-pipelines.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ stages:
4444

4545
- script: |
4646
set -ex
47-
47+
sudo apt-get -y purge libhiredis-dev libnl-3-dev libnl-route-3-dev
4848
sudo dpkg -i ../target/debs/buster/{libswsscommon_1.0.0_amd64.deb,python3-swsscommon_1.0.0_amd64.deb,libnl-3-200_*.deb,libnl-genl-3-200_*.deb,libnl-nf-3-200_*.deb,libnl-route-3-200_*.deb,libhiredis0.14_*.deb}
4949
sudo python3 -m pip install ../target/python-wheels/swsssdk*-py3-*.whl
5050
sudo python3 -m pip install ../target/python-wheels/sonic_py_common-1.0-py3-none-any.whl
@@ -59,6 +59,15 @@ stages:
5959
python3 setup.py test
6060
displayName: "Unit tests"
6161
62+
- script: |
63+
set -ex
64+
# Install .NET CORE
65+
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
66+
sudo apt-add-repository https://packages.microsoft.com/debian/10/prod
67+
sudo apt-get update
68+
sudo apt-get install -y dotnet-sdk-5.0
69+
displayName: "Install .NET CORE"
70+
6271
- task: PublishTestResults@2
6372
inputs:
6473
testResultsFiles: '$(System.DefaultWorkingDirectory)/test-results.xml'

0 commit comments

Comments
 (0)