fix callsign in appveyor helper

This commit is contained in:
OCram85 2017-07-27 14:26:14 +02:00
parent 53ebbb2827
commit dce3fe6530
2 changed files with 4 additions and 2 deletions

View File

@ -20,6 +20,8 @@ install:
# - ps: Update-Module 'Pester'
# - ps: Install-Module -Name 'posh-git' -Scope CurrentUser -Force -SkipPublisherCheck -AllowClobber
# - ps: Update-Module 'posh-git'
- ps: Install-Module -Name 'PSCoverage' -Scope CurrentUser -Force -SkipPublisherCheck -AllowClobber
- ps: Import-Module 'PSCoverage'
- ps: Import-Module .\tools\AppVeyor.psm1
environment:

View File

@ -6,7 +6,7 @@
- Git repository name
- Module name
#>
$CALLSIGN = 'PSCoverage'
$CALLSIGN = 'PSCredentialStore'
Write-Host ("Callsign is: {0}" -f $CALLSIGN) -ForegroundColor Yellow
Function Invoke-AppVeyorBumpVersion() {
@ -128,7 +128,7 @@ Function Invoke-CoverageReport() {
[String]$RepoToken = $Env:CoverallsToken
)
Import-Module '.\src\PSCoverage.psm1' -Verbose -Force
Import-Module ('.\src\{0}.psm1' -f $CALLSIGN) -Verbose -Force
$FileMap = New-PesterFileMap -SourceRoot '.\src' -PesterRoot '.\tests'
$CoverageReport = New-CoverageReport -PesterFileMap $FileMap -RepoToken $RepoToken
Write-Host "CoverageReport JSON:" -ForegroundColor Yellow