Compare commits

...

8 Commits

Author SHA1 Message Date
aparnajyothi-y
7a0de94d02 Update python-tests.ps1 2024-10-08 18:00:40 +05:30
aparnajyothi-y
852aa61b41 Update python-tests.ps1 2024-10-08 17:41:36 +05:30
aparnajyothi-y
8038923f91 Update python-tests.ps1 2024-10-08 17:28:06 +05:30
aparnajyothi-y
989f86547f Update python-tests.ps1 2024-10-08 17:05:37 +05:30
github-actions[bot]
5d096de548 Update versions-manifest (#310)
Co-authored-by: Service account <no-reply@microsoft.com>
2024-10-07 22:28:59 -05:00
github-actions[bot]
b0ba1dbe1e Update versions-manifest (#309)
Co-authored-by: Service account <no-reply@microsoft.com>
2024-10-03 11:32:43 -05:00
github-actions[bot]
8eb4ff3a92 Update versions-manifest (#308)
Co-authored-by: Service account <no-reply@microsoft.com>
2024-10-02 23:40:17 -05:00
github-actions[bot]
98e79473eb Update versions-manifest (#307)
Co-authored-by: Service account <no-reply@microsoft.com>
2024-09-30 14:52:11 -05:00
2 changed files with 1115 additions and 296 deletions

View File

@@ -18,16 +18,22 @@ BeforeAll {
$pattern = "$searchStringStart(.*?)$searchStringEnd"
$buildContent = Get-Content -Path $buildOutputLocation
$splitBuiltOutput = $buildContent -split "\n";
$splitBuiltOutput = $buildContent -split "\n"
### Search for missing modules that are displayed between the search strings
$regexMatch = [regex]::match($SplitBuiltOutput, $Pattern)
if ($regexMatch.Success)
{
$regexMatch = [regex]::match($splitBuiltOutput, $pattern)
if ($regexMatch.Success) {
$module = $regexMatch.Groups[1].Value.Trim()
Write-Host "Failed missing modules:"
Write-Host $module
if ( ($module -eq "_tkinter") -and ( [semver]"$($Version.Major).$($Version.Minor)" -ge [semver]"3.10" -and $Version.PreReleaseLabel ) ) {
try {
$semver = [semver]"$($Version.Major).$($Version.Minor)"
} catch {
Write-Error "Invalid Semantic Version format: $Version"
return 1
}
if (($module -eq "_tkinter") -and ($semver -ge [semver]"3.8")) {
Write-Host "$module $Version ignored"
} else {
return 1

File diff suppressed because it is too large Load Diff