Skip to content

Commit

Permalink
list all pkg to verify pkg installed
Browse files Browse the repository at this point in the history
Signed-off-by: nitin sanghi <[email protected]>
  • Loading branch information
sanghinitin committed Dec 2, 2024
1 parent a6efdb6 commit 79a9682
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/habitat-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,5 @@ jobs:
hab origin key download --auth ${{ secrets.HAB_AUTH_TOKEN }} --secret ${{ env.HAB_ORIGIN }}
write-output "--- running windows hab build"
hab pkg build .
hab pkg list --all
habitat/tests/test.ps1 "${{vars.PKG_IDENT}}"
2 changes: 1 addition & 1 deletion habitat/tests/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Write-Host "--- :fire: Smokish Pestering"
# Pester the Package
$__dir=(Get-Item $PSScriptRoot)
$test_result = Invoke-Pester -Strict -PassThru -Script @{
Path = "$__dir/test.pester.ps1";
Path = "habitat/tests/test.pester.ps1";
Parameters = @{PackageIdentifier=$PackageIdentifier}
}
if ($test_result.FailedCount -ne 0) { Exit $test_result.FailedCount }

0 comments on commit 79a9682

Please sign in to comment.