diff --git a/.azure/pipelines/ci-official.yml b/.azure/pipelines/ci-official.yml index df954a48..3ca61ac1 100644 --- a/.azure/pipelines/ci-official.yml +++ b/.azure/pipelines/ci-official.yml @@ -65,7 +65,7 @@ jobs: inputs: command: test projects: '**/*Tests/*.csproj' - arguments: '--configuration $(BuildConfiguration) --settings $(System.DefaultWorkingDirectory)/CodeCoverage.runsettings --collect:"XPlat Code Coverage" -- RunConfiguration.DisableAppDomain=true' + arguments: '--configuration $(BuildConfiguration) --collect:"XPlat Code Coverage"' - task: DotNetCoreCLI@2 inputs: @@ -74,14 +74,14 @@ jobs: arguments: install --tool-path . dotnet-reportgenerator-globaltool displayName: Install ReportGenerator tool - - script: reportgenerator -reports:$(Agent.TempDirectory)/**/coverage.cobertura.xml -targetdir:$(Build.SourcesDirectory)/coverlet/reports -reporttypes:"HtmlInline_AzurePipelines_Dark;Cobertura;Badges" + - script: reportgenerator -reports:$(Agent.TempDirectory)/**/coverage.cobertura.xml -targetdir:$(Build.SourcesDirectory)/coverlet/reports -reporttypes:"HtmlInline_AzurePipelines;Cobertura;Badges" displayName: Create reports - task: PublishCodeCoverageResults@1 displayName: 'Publish code coverage' inputs: codeCoverageTool: Cobertura - summaryFileLocation: $(Build.SourcesDirectory)/coverlet/reports/Cobertura.xml + summaryFileLocation: $(Build.SourcesDirectory)/coverlet/reports/Cobertura.xml - script: dotnet pack --configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory) displayName: Pack diff --git a/CodeCoverage.runsettings b/CodeCoverage.runsettings deleted file mode 100644 index f71a3aa6..00000000 --- a/CodeCoverage.runsettings +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - json,cobertura - Obsolete,GeneratedCodeAttribute,CompilerGeneratedAttribute - false - true - true - - - - - \ No newline at end of file diff --git a/tests/BaGet.Core.Tests/BaGet.Core.Tests.csproj b/tests/BaGet.Core.Tests/BaGet.Core.Tests.csproj index 9fa366ad..50ca5e84 100644 --- a/tests/BaGet.Core.Tests/BaGet.Core.Tests.csproj +++ b/tests/BaGet.Core.Tests/BaGet.Core.Tests.csproj @@ -4,20 +4,6 @@ netcoreapp3.1 - - - - - - all - runtime; build; native; contentfiles; analyzers - - - all - runtime; build; native; contentfiles; analyzers - - - diff --git a/tests/BaGet.Protocol.Tests/BaGet.Protocol.Tests.csproj b/tests/BaGet.Protocol.Tests/BaGet.Protocol.Tests.csproj index 58faaee9..83f963a3 100644 --- a/tests/BaGet.Protocol.Tests/BaGet.Protocol.Tests.csproj +++ b/tests/BaGet.Protocol.Tests/BaGet.Protocol.Tests.csproj @@ -4,20 +4,6 @@ netcoreapp3.1 - - - - - - all - runtime; build; native; contentfiles; analyzers - - - all - runtime; build; native; contentfiles; analyzers - - - diff --git a/tests/BaGet.Tests/BaGet.Tests.csproj b/tests/BaGet.Tests/BaGet.Tests.csproj index 2e80d99c..734bd403 100644 --- a/tests/BaGet.Tests/BaGet.Tests.csproj +++ b/tests/BaGet.Tests/BaGet.Tests.csproj @@ -12,16 +12,6 @@ - - - - all - runtime; build; native; contentfiles; analyzers - - - all - runtime; build; native; contentfiles; analyzers - diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index bece70dc..5c6c5f25 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -12,11 +12,23 @@ - 3.0.2 - 4.10.0 + 3.1.1 12.0.2 5.4.0 2.4.1 + + + all + runtime; build; native; contentfiles; analyzers + + + + + + all + runtime; build; native; contentfiles; analyzers + +