-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install dotnet core to fix python gcov warning for code covery color bar showing #215
Changes from 9 commits
5f70d91
e6fcc9b
7e1a53b
8850fcc
4391376
25135a5
0a5fa78
f654d2d
c2396aa
46d3402
ed446e9
3eeac48
1d2bcf2
d859738
c8effd4
529d2bd
18f9952
eedd0d1
c289a81
6e39459
3ee0ba4
2a0afcc
6e6f37d
a538bf7
1d61102
92ca9d0
d010818
881f2bb
9e150fd
5cf5f03
c1907aa
5f0d245
e6ae344
6d7d583
d448256
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,16 @@ stages: | |
|
||
sudo python3 -m pip install dist/asyncsnmp-2.1.0-py3-none-any.whl | ||
python3 setup.py test | ||
|
||
# Install .NET CORE | ||
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb | ||
sudo dpkg -i packages-microsoft-prod.deb | ||
sudo apt-get update | ||
sudo apt --fix-broken install -y | ||
#sudo apt-get install libhiredis0.14 libnl-3-200 libnl-route-3-200 | ||
sudo apt-get install -y apt-transport-https | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok, seems no use, removed! |
||
sudo apt-get update | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok, fixed! |
||
sudo apt-get install -y dotnet-sdk-5.0 | ||
displayName: "Unit tests" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is better to create a new step to install the .net core, not in the "Unit tests" step. |
||
|
||
- task: PublishTestResults@2 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is broken and why? #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also for directlly install dot sdk:
https://dev.azure.com/mssonic/build/_build/results?buildId=19148&view=logs&j=83516c17-6666-5250-abde-63983ce72a49&t=c10d5f44-55ce-55d7-7975-407ed75d9a96
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be caused by wrong package packages-microsoft-prod installed, the script is run inside the container, so we need to install the package for debian buster, not ubuntu 20.04.
Please follow https://docs.microsoft.com/en-us/dotnet/core/install/linux-debian, and try again, thanks.