Skip to content

Exclude RequiresAssemblyFilesAttribute from code coverage#83

Merged
Sergio0694 merged 1 commit into
Sergio0694:mainfrom
sliekens:exclude-codecov
Oct 28, 2023
Merged

Exclude RequiresAssemblyFilesAttribute from code coverage#83
Sergio0694 merged 1 commit into
Sergio0694:mainfrom
sliekens:exclude-codecov

Conversation

@sliekens

Copy link
Copy Markdown
Contributor

Closes #62

Description (optional)

Most types were already annotated with ExcludeFromCodeCoverage but one type was forgotten.

Additional context (optional)

ReportGenerator complains about missing source code when generating code coverage reports.

2023-09-29T18:28:00: File '/project/PolySharp.SourceGenerators/PolySharp.SourceGenerators.PolyfillsGenerator/System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute.g.cs' does not exist (any more).

@Sergio0694 Sergio0694 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM, thank you! 😄

@Sergio0694 Sergio0694 merged commit 2689b7e into Sergio0694:main Oct 28, 2023
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.

Generated code should be excluded from code coverage

2 participants