-
Notifications
You must be signed in to change notification settings - Fork 130
Install dotnet core to fix python gcov warning for code covery color bar showing #215
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
Changes from 13 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 |
|---|---|---|
|
|
@@ -59,6 +59,18 @@ stages: | |
| python3 setup.py test | ||
| displayName: "Unit tests" | ||
|
|
||
| - script: | | ||
| set -ex | ||
| # 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 -y apt-transport-https | ||
|
||
| sudo apt-get update | ||
|
Contributor
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.
Contributor
Author
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: "Install publish Dependencies" | ||
|
||
|
|
||
| - task: PublishTestResults@2 | ||
| inputs: | ||
| testResultsFiles: '$(System.DefaultWorkingDirectory)/test-results.xml' | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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
Uh oh!
There was an error while loading. Please reload this page.
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.