mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
Convert CodeQL Windows test to a Pester test.
This commit is contained in:
@@ -19,4 +19,5 @@ $UnGzipedCodeQLBundlePath = Join-Path $DownloadDirectoryPath "codeql-bundle.tar"
|
||||
Extract-7Zip -Path $UnGzipedCodeQLBundlePath -DestinationPath $ExtractionDirectory
|
||||
|
||||
# Test that the tool has been extracted successfully.
|
||||
& (Join-Path $ExtractionDirectory "codeql" "codeql.exe") version
|
||||
$Env:CODEQL_EXTRACTION_DIRECTORY = $ExtractionDirectory
|
||||
Invoke-PesterTests -TestFile "Tools" -TestName "CodeQLBundle"
|
||||
|
||||
Reference in New Issue
Block a user