Skip to content

Commit f93e0c4

Browse files
committed
Fix integration test
1 parent 0398e3c commit f93e0c4

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

docs/schema/manifest.schema.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@
118118
"Spdx",
119119
"Vcpkg",
120120
"DockerReference",
121-
"DotNet"
121+
"DotNet",
122+
"Conan"
122123
]
123124
}
124125
}
@@ -345,7 +346,8 @@
345346
"Spdx",
346347
"Vcpkg",
347348
"DockerReference",
348-
"DotNet"
349+
"DotNet",
350+
"Conan"
349351
]
350352
},
351353
"id": {

test/Microsoft.ComponentDetection.VerificationTests/resources/VerificationTest.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ function main()
5858
$env:GITHUB_NEW_ARTIFACTS_DIR = $output
5959
$env:ALLOWED_TIME_DRIFT_RATIO = "0.75"
6060

61+
if ([string]::IsNullOrEmpty($env:GITHUB_WORKSPACE)) {
62+
$env:GITHUB_WORKSPACE = $repoPath
63+
Write-Host "Setting GITHUB_WORKSPACE environment variable to $repoPath"
64+
}
65+
6166
Write-Progress "Executing verification tests....."
6267
Set-Location ((Get-Item $repoPath).FullName + "\test\Microsoft.ComponentDetection.VerificationTests\")
6368
dotnet restore

0 commit comments

Comments
 (0)