-
Notifications
You must be signed in to change notification settings - Fork 379
Updating code coverage config #4983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 51 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
0dfdabb
Create CodeCoverage.yml
trwalke 4a294f6
Update CodeCoverage.yml
trwalke 7ddb9f3
Update CodeCoverage.runsettings
trwalke 5f6d4d3
Update CodeCoverage.runsettings
trwalke cb12be5
Delete .github/workflows/CodeCoverage.yml
trwalke c47e97f
Update CodeCoverage.runsettings
trwalke 87b41eb
Update template-run-integration-tests.yaml
trwalke 1ab5e07
Update template-run-unit-tests.yaml
trwalke c5001d0
Update CodeCoverage.runsettings
trwalke fc6f8b6
Update CodeCoverage.runsettings
trwalke 1c1f3ab
Update CodeCoverage.runsettings
trwalke 40524b8
Update CodeCoverage.runsettings
trwalke e288e1b
Update CodeCoverage.runsettings
trwalke bbf428d
Update CodeCoverage.runsettings
trwalke 1c93d92
Update CodeCoverage.runsettings
trwalke 9aeda9f
Update CodeCoverage.runsettings
trwalke e56eff5
Update CodeCoverage.runsettings
trwalke f23b537
Update CodeCoverage.runsettings
trwalke c0b2209
Update CodeCoverage.runsettings
trwalke 6ca8847
Updating code coverage
18a5eff
Updating coverage
c0cfb90
Removing unneeded source files
a13039f
Removing config
55753fe
Adding more exclusion folders
f0e8ef7
Update
74f24d5
Config update
5933cb1
update
3e07ec6
Updating code coverage
ae1e08a
Update
2cac971
Update
285ec62
Update
f9ce88e
Update
f27ce46
Update
ca44276
Update
e443ae8
Update
684b90a
Code Coverage Update
10d7858
Update
e75e20b
Update
d51a4f9
Update
27c3ece
Update
54030ac
update
7ad525f
Update template-run-integration-tests.yaml
trwalke 677b794
Update template-run-unit-tests.yaml
trwalke f92e8c9
Update CodeCoverage.runsettings
trwalke a1804dc
Merge branch 'main' into trwalke/CodeCoverageUpdate
trwalke 49002e1
Update
a2231f7
Update template-run-cachecompat-tests.yaml
trwalke d597433
Adding code coverage gate
eea1132
Updated code coverage to use variable
28d1d14
Merge commit 'eea11329b2f3c6df7ac7ad6416cf20ac3869886d' into trwalke/…
1fb9168
Update template-build-and-run-all-tests.yaml
trwalke 4f47741
Apply suggestions from code review
trwalke 4a83232
Merge branch 'main' into trwalke/CodeCoverageUpdate
trwalke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,40 +1,46 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
|
|
||
| <!-- Customised run settings file to exclude test assemblies from coverage. | ||
| See https://msdn.microsoft.com/en-us/library/jj159530.aspx for more info. --> | ||
|
|
||
| <!-- File name extension must be .runsettings --> | ||
| <RunSettings> | ||
| <DataCollectionRunSettings> | ||
| <DataCollectors> | ||
| <DataCollector friendlyName="Code Coverage" uri="datacollector://Microsoft/CodeCoverage/2.0" assemblyQualifiedName="Microsoft.VisualStudio.Coverage.DynamicCoverageDataCollector, Microsoft.VisualStudio.TraceCollector, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||
| <Configuration> | ||
| <CodeCoverage> | ||
| <!-- | ||
| <!-- File name extension must be .runsettings --> | ||
| <RunSettings> | ||
| <DataCollectionRunSettings> | ||
| <DataCollectors> | ||
| <DataCollector friendlyName="Code Coverage" uri="datacollector://Microsoft/CodeCoverage/2.0" assemblyQualifiedName="Microsoft.VisualStudio.Coverage.DynamicCoverageDataCollector, Microsoft.VisualStudio.TraceCollector, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||
| <Configuration> | ||
| <CodeCoverage> | ||
|
|
||
| <!-- | ||
| About include/exclude lists: | ||
| Empty "Include" clauses imply all; empty "Exclude" clauses imply none. | ||
| Each element in the list is a regular expression (ECMAScript syntax). See http://msdn.microsoft.com/library/2k3te2cs.aspx. | ||
| An item must first match at least one entry in the include list to be included. | ||
| Included items must then not match any entries in the exclude list to remain included. | ||
| --> | ||
|
|
||
| <!-- Match assembly file paths: --> | ||
| <ModulePaths> | ||
| <Include> | ||
| <ModulePath>.*\microsoft.identitymodel.clients.activedirectory.dll$</ModulePath> | ||
| <ModulePath>.*\microsoft.identity.core.dll$</ModulePath> | ||
| <ModulePath>.*\microsoft.identity.client.dll$</ModulePath> | ||
|
|
||
| </Include> | ||
| <Exclude> | ||
| </Exclude> | ||
| </ModulePaths> | ||
|
|
||
| </CodeCoverage> | ||
| </Configuration> | ||
| </DataCollector> | ||
| </DataCollectors> | ||
| </DataCollectionRunSettings> | ||
| </RunSettings> | ||
|
|
||
| --> | ||
| <ModulePaths> | ||
trwalke marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| <Include> | ||
| <ModulePath>.*\microsoft.identity.client.dll$</ModulePath> | ||
| </Include> | ||
| <Exclude> | ||
trwalke marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
trwalke marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <ModulePath>.*\\test\\.*</ModulePath> | ||
trwalke marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| <ModulePath>.*Test\.dll</ModulePath> | ||
| <ModulePath>.*Test\.exe</ModulePath> | ||
| </Exclude> | ||
| </ModulePaths> | ||
| <Sources> | ||
| <Exclude> | ||
trwalke marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <Source>.*\\devapps\\.*</Source> | ||
| <Source>.*\\CacheCompat\\.*</Source> | ||
| <Source>.*\\obj\\.*</Source> | ||
| <Source>.*\\json\\.*</Source> | ||
| <Source>.*\\android\\.*</Source> | ||
| <Source>.*\\ios\\.*</Source> | ||
| </Exclude> | ||
| </Sources> | ||
| </CodeCoverage> | ||
| </Configuration> | ||
| </DataCollector> | ||
| </DataCollectors> | ||
| </DataCollectionRunSettings> | ||
| </RunSettings> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.