Skip to content

Commit e168f1d

Browse files
[python coverage] fix result color bar (sonic-net#202)
fix python gcov warning "Please install dotnet core to enable automatic generation of Html report" more info check: sonic-net/sonic-snmpagent#215 Signed-off-by: pettershao-ragilenetworks <pettershao@ragilenetworks.com>
1 parent 87c81de commit e168f1d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

azure-pipelines.yml

+10
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ steps:
2727

2828
- script: |
2929
set -xe
30+
sudo apt-get -y purge libhiredis-dev libnl-3-dev libnl-route-3-dev
3031
sudo dpkg -i libnl-3-200_*.deb
3132
sudo dpkg -i libnl-genl-3-200_*.deb
3233
sudo dpkg -i libnl-route-3-200_*.deb
@@ -51,6 +52,15 @@ steps:
5152
workingDirectory: $(Pipeline.Workspace)/target/python-wheels/
5253
displayName: 'Install Python dependencies'
5354

55+
- script: |
56+
set -ex
57+
# Install .NET CORE
58+
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
59+
sudo apt-add-repository https://packages.microsoft.com/debian/10/prod
60+
sudo apt-get update
61+
sudo apt-get install -y dotnet-sdk-5.0
62+
displayName: "Install .NET CORE"
63+
5464
# Python 2
5565
- script: |
5666
python2 setup.py test

0 commit comments

Comments
 (0)