File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,10 @@ $filter = "-filter:+[SimpleConf*]* -[SimpleConf.Tests*]*"
10
10
& $opencover $target $targetargs - register:user $filter - output:coverage.xml
11
11
12
12
If (Test-Path env:APPVEYOR) {
13
- $coverage_result = Get-ChildItem - Filter coverage.xml - Recurse | Resolve-Path - Relative
14
- $coverall_args = " --opencover $coverage_result -r $env: COVERALL_TOKEN "
15
- $coverall = (Get-ChildItem - Filter " coverall.net.exe" - Recurse | Resolve-Path - Relative).FullName
13
+ $coverage_file = (Get-ChildItem - Filter coverage.xml - Recurse).FullName
14
+ $coveralls = (Get-ChildItem - Filter " coveralls.net.exe" - Recurse).FullName
16
15
17
- & $coverall $coverall_args
16
+ & $coveralls ` -- opencover $coverage_file ` - r $ env: COVERALL_TOKEN
18
17
} else {
19
- Write-Host - ForegroundColor Green " Not running in CI"
20
- }
21
-
18
+ Write-Host - ForegroundColor Green " Not running in CI, skipping upload of coverage data"
19
+ }
You can’t perform that action at this time.
0 commit comments