File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ test_script:
124
124
-register:user `
125
125
-target:$Env:xunit_runner `
126
126
"-targetargs:""$Env:APPVEYOR_BUILD_FOLDER\LibGit2Sharp.Tests\bin\Release\LibGit2Sharp.Tests.dll"" /noshadow /appveyor" `
127
- -filter:"+[LibGit2Sharp*]*" -output:opencoverCoverage.xml
127
+ -filter:"+[LibGit2Sharp.*]* -[LibGit2Sharp.Tests. *]*" -output:opencoverCoverage.xml
128
128
}
129
129
Else
130
130
{
@@ -155,6 +155,8 @@ after_test:
155
155
156
156
If ($Env:SHOULD_RUN_COVERALLS -eq $True -and $Env:publish_on_success -eq $True)
157
157
{
158
+ Write-Host "Uploading code coverage result..." -ForegroundColor "Green"
159
+
158
160
.\packages\coveralls.net\csmacnz.Coveralls.exe `
159
161
--opencover -i opencoverCoverage.xml `
160
162
--repoToken $Env:coveralls_token `
@@ -163,6 +165,8 @@ after_test:
163
165
--commitAuthor $Env:APPVEYOR_REPO_COMMIT_AUTHOR `
164
166
--commitEmail $Env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL `
165
167
--commitMessage $Env:APPVEYOR_REPO_COMMIT_MESSAGE `
168
+ --useRelativePaths `
169
+ --basePath "$Env:APPVEYOR_BUILD_FOLDER\"`
166
170
--jobId $Env:APPVEYOR_JOB_ID
167
171
}
168
172
You can’t perform that action at this time.
0 commit comments