mirror of
https://github.com/actions/setup-python.git
synced 2026-01-11 10:28:18 +00:00
Compare commits
1 Commits
dependabot
...
5ab8de3f5f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ab8de3f5f |
33
.github/workflows/e2e-cache-freethreaded.yml
vendored
33
.github/workflows/e2e-cache-freethreaded.yml
vendored
@@ -68,20 +68,9 @@ jobs:
|
|||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
cache: 'pipenv'
|
cache: 'pipenv'
|
||||||
- name: Install pipenv
|
- name: Install pipenv
|
||||||
run: python -m pip install --upgrade pip pipenv
|
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
||||||
- name: Install dependencies on Linux/macOS
|
- name: Install dependencies
|
||||||
if: runner.os != 'Windows'
|
run: pipenv install requests
|
||||||
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 }})
|
||||||
@@ -170,19 +159,9 @@ jobs:
|
|||||||
cache: 'pipenv'
|
cache: 'pipenv'
|
||||||
cache-dependency-path: '**/pipenv-requirements.txt'
|
cache-dependency-path: '**/pipenv-requirements.txt'
|
||||||
- name: Install pipenv
|
- name: Install pipenv
|
||||||
run: python -m pip install --upgrade pip pipenv
|
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
||||||
|
- 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: |
|
|
||||||
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