Skip to content

Update deps, add SonarQube flag, suppress test warnings#201

Merged
BlaiseD merged 2 commits intomasterfrom
Release11
Mar 23, 2026
Merged

Update deps, add SonarQube flag, suppress test warnings#201
BlaiseD merged 2 commits intomasterfrom
Release11

Conversation

@BlaiseD
Copy link
Member

@BlaiseD BlaiseD commented Mar 23, 2026

  • Bump AutoMapper min version to 16.1.1
  • Mark test project with true>
  • Suppress code analysis warnings in TypeExtensionsTest.cs
  • Rename enum in IsEnum tests for clarity

BlaiseD added 2 commits March 23, 2026 09:56
- Bump AutoMapper min version to 16.1.1
- Mark test project with <SonarQubeTestProject>true>
- Suppress code analysis warnings in TypeExtensionsTest.cs
- Rename enum in IsEnum tests for clarity
Reduced coverlet.msbuild package version from 8.0.1 to 6.0.4 in the test project to address compatibility or stability concerns. No other changes were made.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates package and analysis-related configuration for the ExpressionMapping library and its unit tests, aiming to raise the minimum supported AutoMapper version and reduce static-analysis noise in the test suite.

Changes:

  • Bump the minimum supported AutoMapper version to 16.1.1 (and update SourceLink GitHub package version).
  • Mark the unit test project as a SonarQube test project and update Microsoft.NET.Test.Sdk.
  • Add warning suppressions in TypeExtensionsTest.cs and rename a local enum used in IsEnum tests.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
tests/AutoMapper.Extensions.ExpressionMapping.UnitTests/TypeExtensionsTest.cs Adds file-level warning suppressions and renames a test enum.
tests/AutoMapper.Extensions.ExpressionMapping.UnitTests/AutoMapper.Extensions.ExpressionMapping.UnitTests.csproj Adds SonarQubeTestProject and bumps Microsoft.NET.Test.Sdk.
src/AutoMapper.Extensions.ExpressionMapping/AutoMapper.Extensions.ExpressionMapping.csproj Raises AutoMapper minimum version and updates package metadata/dependency versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI commented Mar 23, 2026

@BlaiseD I've opened a new pull request, #202, to work on those changes. Once the pull request is ready, I'll request review from you.

@BlaiseD BlaiseD merged commit 5940c81 into master Mar 23, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants