diff options
| author | telans <telans@protonmail.com> | 2020-06-13 23:37:41 +1200 |
|---|---|---|
| committer | telans <telans@protonmail.com> | 2020-06-13 23:37:41 +1200 |
| commit | bf5b21e67bcb485b27e5c4dd5f9a84735af30bb7 (patch) | |
| tree | dd0d4a784752fb11469b1a10f1fc66525612e5d7 /tests/Jellyfin.MediaEncoding.Tests/Jellyfin.MediaEncoding.Tests.csproj | |
| parent | 403cd3205ffb970cfda88b6c49dc69127fada798 (diff) | |
enable code analyzers for tests
Diffstat (limited to 'tests/Jellyfin.MediaEncoding.Tests/Jellyfin.MediaEncoding.Tests.csproj')
| -rw-r--r-- | tests/Jellyfin.MediaEncoding.Tests/Jellyfin.MediaEncoding.Tests.csproj | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/Jellyfin.MediaEncoding.Tests/Jellyfin.MediaEncoding.Tests.csproj b/tests/Jellyfin.MediaEncoding.Tests/Jellyfin.MediaEncoding.Tests.csproj index c2e7bf54c..55055d84e 100644 --- a/tests/Jellyfin.MediaEncoding.Tests/Jellyfin.MediaEncoding.Tests.csproj +++ b/tests/Jellyfin.MediaEncoding.Tests/Jellyfin.MediaEncoding.Tests.csproj @@ -25,8 +25,20 @@ <PackageReference Include="coverlet.collector" Version="1.2.1" /> </ItemGroup> + <!-- Code Analyzers --> + <ItemGroup Condition=" '$(Configuration)' == 'Debug' "> + <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="All" /> + <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" /> + <!-- <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" /> SA1201 --> + <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" /> + </ItemGroup> + <ItemGroup> <ProjectReference Include="../../MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj" /> </ItemGroup> + <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> + <CodeAnalysisRuleSet>../jellyfin-tests.ruleset</CodeAnalysisRuleSet> + </PropertyGroup> + </Project> |
