mirror of
https://github.com/actions/setup-python.git
synced 2026-01-02 22:38:17 +00:00
check failure fix
This commit is contained in:
16
.github/workflows/e2e-cache-freethreaded.yml
vendored
16
.github/workflows/e2e-cache-freethreaded.yml
vendored
@@ -159,9 +159,19 @@ jobs:
|
|||||||
cache: 'pipenv'
|
cache: 'pipenv'
|
||||||
cache-dependency-path: '**/pipenv-requirements.txt'
|
cache-dependency-path: '**/pipenv-requirements.txt'
|
||||||
- name: Install pipenv
|
- name: Install pipenv
|
||||||
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
run: python -m pip install --upgrade pip pipenv
|
||||||
- name: Install dependencies
|
|
||||||
run: pipenv install requests
|
- name: Install dependencies on Linux/macOS
|
||||||
|
if: runner.os != 'Windows'
|
||||||
|
run: |
|
||||||
|
export PIPENV_PYTHON=$(which python)
|
||||||
|
pipenv install requests
|
||||||
|
|
||||||
|
- name: Install dependencies on Windows
|
||||||
|
if: runner.os == 'Windows'
|
||||||
|
run: |
|
||||||
|
python -m pipenv --rm || echo "No existing env"
|
||||||
|
python -m pipenv install --python $(python -c "import sys; print(sys.executable)") requests
|
||||||
|
|
||||||
python-pip-dependencies-caching-with-pip-version:
|
python-pip-dependencies-caching-with-pip-version:
|
||||||
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
|
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
|
||||||
|
|||||||
Reference in New Issue
Block a user