Skip to content

Commit

Permalink
add version check in hab environment
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin <[email protected]>
  • Loading branch information
Sachin committed Dec 3, 2024
1 parent 66bf18b commit 4d992a4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions habitat/tests/test.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
param (
[Parameter()]
[string]$PackageIdentifier = $(throw "Usage: test.ps1 [test_pkg_ident] e.g. test.ps1 ci/user-windows/1.0.0/20190812103929")
)

Write-Host "--- :fire: Smokish test"
# Pester the Package
$version=hab pkg exec "${pkg_ident}" berks -v
Expand Down

0 comments on commit 4d992a4

Please sign in to comment.