mirror of
https://github.com/pyenv/pyenv.git
synced 2025-05-08 07:05:54 +00:00
Prove that actual Python == expected Python
This commit is contained in:
parent
45b99abec6
commit
f75e028401
1 changed files with 4 additions and 0 deletions
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"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue