Skip to content

Commit eab866b

Browse files
committed
run migrate test in verify pipeline
Signed-off-by: Matt Wrock <matt@mattwrock.com>
1 parent c441f80 commit eab866b

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Write-Host "--- Installing pester"
2+
hab pkg install core/pester
3+
Import-Module "$(hab pkg path core/pester)\module\pester.psd1"
4+
$env:HAB_NOCOLORING = "true"
5+
6+
Write-Host "--- Running migrate.ps1 tests"
7+
Invoke-Pester components/hab/tests/test_migrate_script.ps1 -EnableExit
8+

.expeditor/verify.pipeline.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,20 @@ steps:
810810
automatic:
811811
limit: 1
812812

813+
- label: "[unit] :windows: migrate script"
814+
env:
815+
HAB_LICENSE: "accept-no-persist"
816+
command:
817+
- powershell .expeditor/scripts/verify/test_migrate_script.ps1
818+
expeditor:
819+
executor:
820+
docker:
821+
host_os: windows
822+
timeout_in_minutes: 5
823+
retry:
824+
automatic:
825+
limit: 1
826+
813827
#######################################################################
814828
# Things that have no tests but should be built to make sure they
815829
# still build. - Linux

0 commit comments

Comments
 (0)