forked from NLog/NLog.Extensions.Logging
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun-tests.ps1
More file actions
19 lines (15 loc) · 672 Bytes
/
run-tests.ps1
File metadata and controls
19 lines (15 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
dotnet restore test/NLog.Extensions.Logging.Tests -v minimal
dotnet restore test/NLog.Extensions.Hosting.Tests -v minimal
dotnet build test/NLog.Extensions.Logging.Tests --configuration release -v minimal
if (-Not $LastExitCode -eq 0)
{ exit $LastExitCode }
dotnet build test/NLog.Extensions.Hosting.Tests --configuration release -v minimal
if (-Not $LastExitCode -eq 0)
{ exit $LastExitCode }
dotnet test test/NLog.Extensions.Logging.Tests --configuration release
if (-Not $LastExitCode -eq 0)
{ exit $LastExitCode }
dotnet test test/NLog.Extensions.Hosting.Tests --configuration release
if (-Not $LastExitCode -eq 0)
{ exit $LastExitCode }
exit $LastExitCode