Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
coenm committed Sep 25, 2024
1 parent a825f1c commit b9502d0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
15 changes: 14 additions & 1 deletion .azuredevops/Pipelines/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,25 @@ stages:
displayName: 🧪 Dotnet Test
inputs:
command: test
projects: 'tests/**/*.csproj'
projects: 'tests/**/*.Tests.csproj'
arguments: >-
--no-build --configuration $(buildConfiguration)
--collect:"XPlat Code Coverage;Format=cobertura,opencover"
--logger trx
/p:ExcludeByAttribute=CompilerGenerated
publishTestResults: true

- task: DotNetCoreCLI@2
displayName: 🧪 Dotnet Test SystemTest
inputs:
command: test
projects: 'tests/**/SystemTests.csproj'
arguments: >-
--no-build --configuration $(buildConfiguration)
--output Detailed --coverage --coverage-output coverage.cobertura.xml --coverage-output-format cobertura
--collect:"XPlat Code Coverage;Format=cobertura,opencover"
--logger trx
/p:ExcludeByAttribute=CompilerGenerated
publishTestResults: true

- template: Templates/publish-code-analysis.yaml
5 changes: 1 addition & 4 deletions tests/SystemTests/SystemTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FakeItEasy" Version="8.3.0" />
<PackageReference Include="FakeItEasy.Analyzer.CSharp" Version="6.1.1">
<PrivateAssets>all</PrivateAssets>
Expand All @@ -24,6 +20,7 @@
</PackageReference>
<PackageReference Include="LibGit2Sharp" Version="0.30.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
<PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage" Version="17.12.4" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="21.0.29" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
<PackageReference Include="TUnit" Version="0.1.818" />
Expand Down

0 comments on commit b9502d0

Please sign in to comment.