1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-14 22:33:52 -05:00

Prove that actual Python == expected Python

This commit is contained in:
Christian Clauss
2021-03-03 13:26:08 +01:00
committed by GitHub
parent 45b99abec6
commit f75e028401

View File

@@ -30,3 +30,7 @@ jobs:
bin/pyenv rehash
- run: python --version
- run: python -m pip --version
- shell: python # Prove that actual Python == expected Python
env:
EXPECTED_PYTHON: ${{ matrix.python-version }}
run: import os, sys ; assert sys.version.startswith(os.getenv("EXPECTED_PYTHON"))