This commit is contained in:
Ivan Pozdeev 2025-03-28 00:29:51 +03:00
parent 6e414a6b7d
commit 21f6f0c9c3

View File

@ -39,12 +39,14 @@ jobs:
run: |
echo $PYENV_ROOT
echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH
bin/pyenv --debug install ${{ matrix.python-version }}
bin/pyenv global ${{ matrix.python-version }}
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"))
echo "$PATH"
# bin/pyenv --debug install ${{ matrix.python-version }}
# bin/pyenv global ${{ matrix.python-version }}
# bin/pyenv rehash
# - run: python --version
- run: echo "$PATH"
# - 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"))