We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96b6aa7 commit 6986d4eCopy full SHA for 6986d4e
.github/workflows/test_actions.yml
@@ -23,7 +23,7 @@ jobs:
23
run: |
24
import sys, sysconfig
25
version = sys.version_info[:2]
26
- expected_version = tuple(map(int, "${{ matrix.python-version }}".removeprefix("pypy").removesuffix("t").replace("-a.", "a").replace("-b.", "b").replace("-rc.", "rc").split(".")))
+ expected_version = tuple(map(int, "${{ matrix.python-version }}".removeprefix("pypy").removesuffix("t").split(".")[:2]))
27
if version != expected_version:
28
print(f"::error title=Test Failure::The Python version does not match. Got {version}, expected {expected_version}.")
29
sys.exit(1)
0 commit comments