Skip to content

Commit

Permalink
Add app insights logging to e2e test run
Browse files Browse the repository at this point in the history
  • Loading branch information
mamaso authored Sep 19, 2017
1 parent 9453f07 commit 901764c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 12 deletions.
8 changes: 8 additions & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
<add key="buildTools" value="https://www.myget.org/F/30de4ee06dd54956a82013fa17a3accb/" />
<add key="appService" value="https://www.myget.org/F/azure-appservice/api/v2/" />
</packageSources>
</configuration>
32 changes: 20 additions & 12 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,33 @@ build_script:
dotnet pack src\Microsoft.Azure.WebJobs.ServiceBus\EventHubs\WebJobs.EventHubs.csproj -o ..\..\..\buildoutput --no-build --version-suffix "-$env:APPVEYOR_BUILD_NUMBER"
test_script:
- ps: >-
$success = $true;
dotnet test .\test\Microsoft.Azure.WebJobs.Host.UnitTests\ -v q --no-build;
$success = $success -and $?;
$success = $true
dotnet test .\test\Microsoft.Azure.WebJobs.Host.FunctionalTests\ -v q --no-build;
$success = $success -and $?;
dotnet test .\test\Microsoft.Azure.WebJobs.Host.UnitTests\ -v q --no-build
dotnet test .\test\Microsoft.Azure.WebJobs.Logging.FunctionalTests\ -v q --no-build;
$success = $success -and $?;
$success = $success -and $?
dotnet test .\test\Microsoft.Azure.WebJobs.Host.EndToEndTests\ -v q --no-build;
$success = $success -and $?;
dotnet test .\test\Microsoft.Azure.WebJobs.Host.FunctionalTests\ -v q --no-build
dotnet test .\test\Microsoft.Azure.WebJobs.EventHubs.UnitTests\ -v q --no-build;
$success = $success -and $?;
$success = $success -and $?
dotnet test .\test\Microsoft.Azure.WebJobs.Logging.FunctionalTests\ -v q --no-build
$success = $success -and $?
# see results in app insights AntaresDemo 'functionse2eai'
dotnet test .\test\Microsoft.Azure.WebJobs.Host.EndToEndTests\ -v q --no-build -l appinsights
$success = $success -and $?
dotnet test .\test\Microsoft.Azure.WebJobs.EventHubs.UnitTests\ -v q --no-build
$success = $success -and $?
if (-not $success) { exit 1 }
artifacts:
- path: buildoutput\*.nupkg
name: Binaries
hosts:
api.nuget.org: 93.184.221.200
api.nuget.org: 93.184.221.200
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="appinsights.testlogger" Version="1.0.0" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.0-beta004">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down

0 comments on commit 901764c

Please sign in to comment.