Permalink
Browse files

codecov hinting paths #2

(do Identity)
  • Loading branch information...
niphlod committed Oct 19, 2017
1 parent 64508ae commit c2a40f4e61ac0de023fc989df9b8fff067dc7002
Showing with 12 additions and 12 deletions.
  1. +11 −11 appveyor.yml
  2. +1 −1 codecov.yml
View
@@ -39,8 +39,7 @@ artifacts:
before_test:
# Install opencov and codecov to parse results
- ps: choco install opencover.portable | Out-Null
# Install codecov to upload results
- ps: choco install codecov | Out-Null
# grab appveyor lab files
@@ -55,9 +54,18 @@ test_script:
#- ps: Install-PackageProvider NuGet -MinimumVersion '2.8.5.201' -Force | Out-Null
#- ps: Import-PackageProvider NuGet -MinimumVersion '2.8.5.201' -Force | Out-Null
- ps: Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.6.0 -Repository PSGallery -Force | Out-Null
# DLL unittests only in default scenario
# "Test with native PS version"
- ps: .\Tests\appveyor.pester.ps1
# "Test with PS version 3" - Removed because it's not a true test. Even PS4+ .Where() works
# - ps: powershell.exe -version 3.0 -executionpolicy bypass -noprofile -file .\Tests\appveyor.pester.ps1
# "Collecting and uploading results"
- ps: .\Tests\appveyor.pester.ps1 -Finalize
# DLL unittests only in default scenario
- ps: |
if($env:SCENARIO -eq 'default') {
choco install opencover.portable | Out-Null
OpenCover.Console.exe `
-register:user `
-target:"vstest.console.exe" `
@@ -68,14 +76,6 @@ test_script:
.\Tests\appveyor.opencoverfix.ps1
codecov -f "coverage.xml"
}
# "Test with native PS version"
- ps: .\Tests\appveyor.pester.ps1
# "Test with PS version 3" - Removed because it's not a true test. Even PS4+ .Where() works
# - ps: powershell.exe -version 3.0 -executionpolicy bypass -noprofile -file .\Tests\appveyor.pester.ps1
# "Collecting and uploading results"
- ps: .\Tests\appveyor.pester.ps1 -Finalize
#on_finish:
View
@@ -1,4 +1,4 @@
comment: false
fixes:
- "dbatools/*::bin/projects/dbatools/dbatools/"
- "dbatools/::bin/projects/dbatools/dbatools/"

0 comments on commit c2a40f4

Please sign in to comment.