Skip to content

Commit 0c06316

Browse files
authored
Add webapp and worker to smoke-tests (#2332)
Running worker application locally helped catch aspnet/common -> dotnet/extensions move. So lets add it to the smoke-tests as well.
1 parent 42ac4d6 commit 0c06316

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

smoke-test.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ function doCommand() {
210210
else
211211
"${dotnetCmd}" $newArgs --no-restore >> "$logFile" 2>&1
212212
fi
213-
elif [[ "$1" == "run" && "$proj" =~ ^(web|mvc|webapi|razor|blazorwasm|blazorserver)$ ]]; then
213+
elif [[ "$1" == "run" && "$proj" =~ ^(web|mvc|webapi|webapp|worker|razor|blazorwasm|blazorserver)$ ]]; then
214214
# A separate log file that we will over-write all the time.
215215
exitLogFile="$testingDir/exitLogFile"
216216
echo > "$exitLogFile"
@@ -293,13 +293,15 @@ function runAllTests() {
293293
doCommand C# classlib new restore build multi-rid-publish
294294
doCommand C# xunit new restore test
295295
doCommand C# mstest new restore test
296+
doCommand C# worker new restore build run multi-rid-publish
296297

297298
doCommand VB console new restore build run multi-rid-publish
298299
doCommand VB classlib new restore build multi-rid-publish
299300
doCommand VB xunit new restore test
300301
doCommand VB mstest new restore test
301302

302303
doCommand F# console new restore build run multi-rid-publish
304+
doCommand F# worker new restore build run multi-rid-publish
303305
doCommand F# classlib new restore build multi-rid-publish
304306
doCommand F# xunit new restore test
305307
doCommand F# mstest new restore test
@@ -323,6 +325,7 @@ function runWebTests() {
323325
doCommand C# web "$@" new restore build run multi-rid-publish
324326
doCommand C# mvc "$@" new restore build run multi-rid-publish
325327
doCommand C# webapi "$@" new restore build multi-rid-publish
328+
doCommand C# webapp "$@" new restore build multi-rid-publish
326329
doCommand C# razor "$@" new restore build run multi-rid-publish
327330
doCommand C# blazorwasm "$@" new restore build run publish
328331
doCommand C# blazorserver "$@" new restore build run publish

0 commit comments

Comments
 (0)