From e168f1d46a9f1c30efc40065b3e80321c0f1ad9b Mon Sep 17 00:00:00 2001 From: pettershao-ragilenetworks <81281940+pettershao-ragilenetworks@users.noreply.github.com> Date: Tue, 20 Jul 2021 02:09:23 +0800 Subject: [PATCH] [python coverage] fix result color bar (#202) fix python gcov warning "Please install dotnet core to enable automatic generation of Html report" more info check: Azure/sonic-snmpagent#215 Signed-off-by: pettershao-ragilenetworks --- azure-pipelines.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f0e1b99cd..0de1e0ca2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,6 +27,7 @@ steps: - script: | set -xe + sudo apt-get -y purge libhiredis-dev libnl-3-dev libnl-route-3-dev sudo dpkg -i libnl-3-200_*.deb sudo dpkg -i libnl-genl-3-200_*.deb sudo dpkg -i libnl-route-3-200_*.deb @@ -51,6 +52,15 @@ steps: workingDirectory: $(Pipeline.Workspace)/target/python-wheels/ displayName: 'Install Python dependencies' +- script: | + set -ex + # Install .NET CORE + curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - + sudo apt-add-repository https://packages.microsoft.com/debian/10/prod + sudo apt-get update + sudo apt-get install -y dotnet-sdk-5.0 + displayName: "Install .NET CORE" + # Python 2 - script: | python2 setup.py test