Skip to content

Commit 8beb652

Browse files
extend check for all alpha versions of 3.11 python (actions#136)
1 parent 7e70acf commit 8beb652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/python-tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Describe "Tests" {
4949
"python ./sources/simple-test.py" | Should -ReturnZeroExitCode
5050
}
5151

52-
if (($Version -ge "3.2.0") -and ($Version -ne "3.11.0-alpha.3")) {
52+
if (($Version -ge "3.2.0") -and -not ([semver]"$($Version.Major).$($Version.Minor)" -eq [semver]"3.11" -and $Version.PreReleaseLabel)) {
5353
It "Check if sqlite3 module is installed" {
5454
"python ./sources/python-sqlite3.py" | Should -ReturnZeroExitCode
5555
}

0 commit comments

Comments
 (0)