From e8b6c5cc6a4cbe991d0ac08ea3a608df7da2511c Mon Sep 17 00:00:00 2001 From: pettershao-ragilenetworks <81281940+pettershao-ragilenetworks@users.noreply.github.com> Date: Fri, 9 Jul 2021 01:37:43 +0800 Subject: [PATCH] [ci] Fix python coverage color bar (#1692) 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 9ec88b56a9..002d4dffdd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -38,6 +38,7 @@ stages: - 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 @@ -77,6 +78,15 @@ stages: 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" + - script: | python3 setup.py test displayName: 'Test Python 3'