fix callsign in appveyor helper
This commit is contained in:
parent
53ebbb2827
commit
dce3fe6530
@ -20,6 +20,8 @@ install:
|
|||||||
# - ps: Update-Module 'Pester'
|
# - ps: Update-Module 'Pester'
|
||||||
# - ps: Install-Module -Name 'posh-git' -Scope CurrentUser -Force -SkipPublisherCheck -AllowClobber
|
# - ps: Install-Module -Name 'posh-git' -Scope CurrentUser -Force -SkipPublisherCheck -AllowClobber
|
||||||
# - ps: Update-Module 'posh-git'
|
# - 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
|
- ps: Import-Module .\tools\AppVeyor.psm1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
- Git repository name
|
- Git repository name
|
||||||
- Module name
|
- Module name
|
||||||
#>
|
#>
|
||||||
$CALLSIGN = 'PSCoverage'
|
$CALLSIGN = 'PSCredentialStore'
|
||||||
Write-Host ("Callsign is: {0}" -f $CALLSIGN) -ForegroundColor Yellow
|
Write-Host ("Callsign is: {0}" -f $CALLSIGN) -ForegroundColor Yellow
|
||||||
|
|
||||||
Function Invoke-AppVeyorBumpVersion() {
|
Function Invoke-AppVeyorBumpVersion() {
|
||||||
@ -128,7 +128,7 @@ Function Invoke-CoverageReport() {
|
|||||||
[String]$RepoToken = $Env:CoverallsToken
|
[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'
|
$FileMap = New-PesterFileMap -SourceRoot '.\src' -PesterRoot '.\tests'
|
||||||
$CoverageReport = New-CoverageReport -PesterFileMap $FileMap -RepoToken $RepoToken
|
$CoverageReport = New-CoverageReport -PesterFileMap $FileMap -RepoToken $RepoToken
|
||||||
Write-Host "CoverageReport JSON:" -ForegroundColor Yellow
|
Write-Host "CoverageReport JSON:" -ForegroundColor Yellow
|
||||||
|
Loading…
Reference in New Issue
Block a user