-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run tests for .NET Core 2.0 and 2.1; Package upgrades (#24)
- Loading branch information
Showing
15 changed files
with
72 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"sdk": { | ||
"version": "2.1.300" | ||
"version": "2.1.401" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,33 @@ | ||
[CmdletBinding(PositionalBinding = $false)] | ||
param( | ||
[string] $Framework = "netcoreapp2.1" | ||
) | ||
|
||
dotnet build | ||
if ($LASTEXITCODE -ne 0) { throw "build error" } | ||
|
||
Write-Host "Launching samples with framework $Framework" | ||
|
||
Start-Process ` | ||
-FilePath powershell.exe ` | ||
-ArgumentList @( "dotnet run --no-restore --no-build; Read-Host 'Press enter to exit'" ) ` | ||
-ArgumentList @( "dotnet run -f $Framework --no-build; Read-Host 'Press enter to exit'" ) ` | ||
-WorkingDirectory "samples\CustomersApi" | ||
|
||
Start-Process ` | ||
-FilePath powershell.exe ` | ||
-ArgumentList @( "dotnet run --no-restore --no-build; Read-Host 'Press enter to exit'" ) ` | ||
-ArgumentList @( "dotnet run -f $Framework --no-build; Read-Host 'Press enter to exit'" ) ` | ||
-WorkingDirectory "samples\OrdersApi" | ||
|
||
Start-Sleep -Seconds 2 | ||
|
||
Start-Process ` | ||
-FilePath powershell.exe ` | ||
-ArgumentList @( "dotnet run --no-restore --no-build; Read-Host 'Press enter to exit'" ) ` | ||
-ArgumentList @( "dotnet run -f $Framework --no-build; Read-Host 'Press enter to exit'" ) ` | ||
-WorkingDirectory "samples\FrontendWeb" | ||
|
||
Start-Process ` | ||
-FilePath powershell.exe ` | ||
-ArgumentList @( "dotnet run --no-restore --no-build; Read-Host 'Press enter to exit'" ) ` | ||
-WorkingDirectory "samples\TrafficGenerator" | ||
|
||
if ($Framework -ne "netcoreapp2.0") { | ||
Start-Process ` | ||
-FilePath powershell.exe ` | ||
-ArgumentList @( "dotnet run -f $Framework --no-build; Read-Host 'Press enter to exit'" ) ` | ||
-WorkingDirectory "samples\TrafficGenerator" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp2.0</TargetFramework> | ||
<TargetFrameworks>netcoreapp2.0;netcoreapp2.1</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Shared\Shared.csproj" /> | ||
<ProjectReference Include="..\..\src\OpenTracing.Contrib.NetCore\OpenTracing.Contrib.NetCore.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.8" /> | ||
<ItemGroup Condition="$(TargetFramework)=='netcoreapp2.0'"> | ||
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.9" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="$(TargetFramework)=='netcoreapp2.1'"> | ||
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.3" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp2.0</TargetFramework> | ||
<TargetFrameworks>netcoreapp2.0;netcoreapp2.1</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Shared\Shared.csproj" /> | ||
<ProjectReference Include="..\..\src\OpenTracing.Contrib.NetCore\OpenTracing.Contrib.NetCore.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.8" /> | ||
<ItemGroup Condition="$(TargetFramework)=='netcoreapp2.0'"> | ||
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.9" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="$(TargetFramework)=='netcoreapp2.1'"> | ||
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.3" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp2.0</TargetFramework> | ||
<TargetFrameworks>netcoreapp2.0;netcoreapp2.1</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Shared\Shared.csproj" /> | ||
<ProjectReference Include="..\..\src\OpenTracing.Contrib.NetCore\OpenTracing.Contrib.NetCore.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.8" /> | ||
<ItemGroup Condition="$(TargetFramework)=='netcoreapp2.0'"> | ||
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.9" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="$(TargetFramework)=='netcoreapp2.1'"> | ||
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.3" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 12 additions & 5 deletions
17
test/OpenTracing.Contrib.NetCore.Tests/OpenTracing.Contrib.NetCore.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters