diff --git a/build/test-all.ps1 b/build/test-all.ps1
index 9a94ec3760..3bd44527a7 100644
--- a/build/test-all.ps1
+++ b/build/test-all.ps1
@@ -7,7 +7,7 @@ $full = $args[0]
foreach ($solutionPath in $solutionPaths) {
$solutionAbsPath = (Join-Path $rootFolder $solutionPath)
Set-Location $solutionAbsPath
- dotnet test --no-build --no-restore
+ dotnet test --no-build --no-restore --collect:"XPlat Code Coverage"
if (-Not $?) {
Write-Host ("Test failed for the solution: " + $solutionPath)
Set-Location $rootFolder
diff --git a/codecov.yml b/codecov.yml
new file mode 100644
index 0000000000..9d071b9f69
--- /dev/null
+++ b/codecov.yml
@@ -0,0 +1,3 @@
+codecov:
+ branch: dev
+ require_ci_to_pass: yes
diff --git a/common.test.props b/common.test.props
index 233afe8282..b1a47c4d36 100644
--- a/common.test.props
+++ b/common.test.props
@@ -7,4 +7,12 @@
false
false
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers
+
+
+
\ No newline at end of file