mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-16 07:13:53 -05:00
Prove that actual Python == expected Python
This commit is contained in:
4
.github/workflows/ubuntu_tests.yml
vendored
4
.github/workflows/ubuntu_tests.yml
vendored
@@ -30,3 +30,7 @@ jobs:
|
|||||||
bin/pyenv rehash
|
bin/pyenv rehash
|
||||||
- run: python --version
|
- run: python --version
|
||||||
- run: python -m pip --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"))
|
||||||
|
|||||||
Reference in New Issue
Block a user