Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingosse committed Jun 15, 2021
1 parent 56c447a commit f93223c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
6 changes: 1 addition & 5 deletions .azure-pipelines/ultimate-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -844,11 +844,7 @@ stages:
inputs:
patterns: '**/coverage.cobertura.xml'
path: $(Build.SourcesDirectory)/cover

- task: CmdLine@2
inputs:
script: 'tree $(Build.SourcesDirectory) /F /A'


- task: reportgenerator@4
inputs:
reports: '$(Build.SourcesDirectory)\cover\**\coverage.cobertura.xml'
Expand Down
6 changes: 3 additions & 3 deletions build/_build/Build.Steps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,8 @@ partial class Build

Target CompileDependencyLibs => _ => _
.Unlisted()
.DependsOn(Restore)
.DependsOn(CompileManagedSrc)
.After(Restore)
.After(CompileManagedSrc)
.Executes(() =>
{
// Always AnyCPU
Expand Down Expand Up @@ -756,7 +756,7 @@ _ when projectPath.ToString().Contains("Samples.OracleMDA") => false,
DotNetTest(config => config
.SetConfiguration(BuildConfiguration)
.SetTargetPlatform(Platform)
.EnableNoRestore()
.EnableNoRestore()
.EnableNoBuild()
.When(!string.IsNullOrEmpty(Filter), c => c.SetFilter(Filter))
.When(CodeCoverage, ConfigureCodeCoverage)
Expand Down
6 changes: 3 additions & 3 deletions build/docker/Datadog.Trace.ClrProfiler.IntegrationTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ cleanup() {

trap cleanup SIGINT SIGTERM EXIT

dotnet vstest test/Datadog.Trace.IntegrationTests/bin/$buildConfiguration/$publishTargetFramework/publish/Datadog.Trace.IntegrationTests.dll --logger:trx --ResultsDirectory:test/Datadog.Trace.IntegrationTests/results --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=cobertura DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Exclude=[*]Datadog.Trace.Vendors.*
dotnet vstest test/Datadog.Trace.IntegrationTests/bin/$buildConfiguration/$publishTargetFramework/publish/Datadog.Trace.IntegrationTests.dll --logger:trx --ResultsDirectory:test/Datadog.Trace.IntegrationTests/results

dotnet vstest test/Datadog.Trace.OpenTracing.IntegrationTests/bin/$buildConfiguration/$publishTargetFramework/publish/Datadog.Trace.OpenTracing.IntegrationTests.dll --logger:trx --ResultsDirectory:test/Datadog.Trace.OpenTracing.IntegrationTests/results --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=cobertura DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Exclude=[*]Datadog.Trace.Vendors.*
dotnet vstest test/Datadog.Trace.OpenTracing.IntegrationTests/bin/$buildConfiguration/$publishTargetFramework/publish/Datadog.Trace.OpenTracing.IntegrationTests.dll --logger:trx --ResultsDirectory:test/Datadog.Trace.OpenTracing.IntegrationTests/results

wait-for-it servicestackredis:6379 -- \
wait-for-it stackexchangeredis:6379 -- \
Expand All @@ -36,4 +36,4 @@ wait-for-it mongo:27017 -- \
wait-for-it postgres:5432 -- \
wait-for-it -t 60 kafka-zookeeper:2181 -- \
wait-for-it -t 60 kafka-broker:9092 -- \
dotnet vstest test/Datadog.Trace.ClrProfiler.IntegrationTests/bin/$buildConfiguration/$publishTargetFramework/publish/Datadog.Trace.ClrProfiler.IntegrationTests.dll --logger:trx --ResultsDirectory:test/Datadog.Trace.ClrProfiler.IntegrationTests/results --TestCaseFilter:Category!=LinuxUnsupported --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=cobertura DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Exclude=[*]Datadog.Trace.Vendors.*
dotnet vstest test/Datadog.Trace.ClrProfiler.IntegrationTests/bin/$buildConfiguration/$publishTargetFramework/publish/Datadog.Trace.ClrProfiler.IntegrationTests.dll --logger:trx --ResultsDirectory:test/Datadog.Trace.ClrProfiler.IntegrationTests/results --TestCaseFilter:Category!=LinuxUnsupported
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<ProjectReference Include="..\..\src\Datadog.Trace.OpenTracing\Datadog.Trace.OpenTracing.csproj" />
<ProjectReference Include="..\..\src\Datadog.Trace\Datadog.Trace.csproj" />
<ProjectReference Include="..\Datadog.Trace.TestHelpers\Datadog.Trace.TestHelpers.csproj" />

</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('net4')) ">
Expand Down

0 comments on commit f93223c

Please sign in to comment.