mirror of
https://github.com/actions/setup-python.git
synced 2026-01-21 05:38:54 +08:00
check-failure fix
This commit is contained in:
parent
6e52e651f5
commit
3c55796739
1 changed files with 13 additions and 3 deletions
16
.github/workflows/e2e-cache-freethreaded.yml
vendored
16
.github/workflows/e2e-cache-freethreaded.yml
vendored
|
|
@ -68,9 +68,19 @@ jobs:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
cache: 'pipenv'
|
cache: 'pipenv'
|
||||||
- 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
|
- name: Install dependencies on Linux/macOS
|
||||||
run: pipenv install requests
|
if: runner.os != 'Windows'
|
||||||
|
run: |
|
||||||
|
export PIPENV_PYTHON=$(which python)
|
||||||
|
pipenv install requests
|
||||||
|
- name: Install dependencies on Windows
|
||||||
|
if: runner.os == 'Windows'
|
||||||
|
run: |
|
||||||
|
# Remove existing virtualenv if any
|
||||||
|
python -m pipenv --rm || echo "No existing env"
|
||||||
|
# Create fresh env using current Python
|
||||||
|
python -m pipenv install --python $(python -c "import sys; print(sys.executable)") requests
|
||||||
|
|
||||||
python-poetry-dependencies-caching:
|
python-poetry-dependencies-caching:
|
||||||
name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }})
|
name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue