Skip to content

Commit

Permalink
fix: exclude TestResults folder from triggering the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
delepster committed Aug 28, 2023
1 parent 608190c commit 3f34c4b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ bld/
#wwwroot/

# MSTest test Results
[Tt]est[Rr]esult*/
[Tt]est[Rr]esult*/**/*.xml
[Bb]uild[Ll]og.*

# NUNIT
Expand Down
3 changes: 3 additions & 0 deletions .pipelines/azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ trigger:
include:
- 'main'
- 'master'
paths:
exclude:
- TestResults/*

pool:
vmImage: 'ubuntu-latest'
Expand Down
4 changes: 4 additions & 0 deletions Mongo.Migration.Test.Core/Mongo.Migration.Test.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
<Compile Remove="..\Mongo.Migration.Test\Properties\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.msbuild" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down

0 comments on commit 3f34c4b

Please sign in to comment.