10000 Run SB tests in online mode · dotnet/dotnet@861ec27 · GitHub
[go: up one dir, main page]

Skip to content

Commit 861ec27

Browse files
committed
Run SB tests in online mode
1 parent 347b9ed commit 861ec27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,10 @@ if [[ "$test" == true ]]; then
265265
actions=( "/p:Restore=true" "/p:Build=true" "/p:Test=true" )
266266
properties+=( "/p:IsTestRun=true" )
267267

268+
if [[ "$sourceOnly" == true ]]; then
269+
properties+=( "/p:DotNetBuildWithOnlineFeeds=true" )
270+
fi
271+
268272
# Workaround for vstest hangs: https://github.com/microsoft/vstest/issues/10760
269273
export MSBUILDENSURESTDOUTFORTASKPROCESSES=1
270274
# Ensure all test projects share stdout (https://github.com/dotnet/source-build/issues/4635#issuecomment-2397464519)

0 commit comments

Comments
 (0)
0