From 72501335d9d665ea6e4bce973fb3a602500891bc Mon Sep 17 00:00:00 2001 From: James Garriss <52328727+james-garriss@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:26:55 -0500 Subject: [PATCH] install before checking for install --- Testing/workflow/Build-SignRelease.Tests.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Testing/workflow/Build-SignRelease.Tests.ps1 b/Testing/workflow/Build-SignRelease.Tests.ps1 index f73edecb57..852f9fb640 100644 --- a/Testing/workflow/Build-SignRelease.Tests.ps1 +++ b/Testing/workflow/Build-SignRelease.Tests.ps1 @@ -1,5 +1,9 @@ # temp placeholder for a real test Describe "Install AST Check" { + $ScriptPath = Join-Path -Path $PSScriptRoot -ChildPath '../../utils/workflow/Build-SignRelease.ps1' -Resolve + # Source the function + . $ScriptPath + Install-AzureSigningTool It "Should be installed" { $ToolPath = (Get-Command AzureSignTool).Path Write-Warning "The path to AzureSignTool is $ToolPath"