mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
comment --keep-outdated
This commit is contained in:
parent
58b3ecabf8
commit
355ab83d00
1 changed files with 5 additions and 7 deletions
12
.github/workflows/e2e-cache.yml
vendored
12
.github/workflows/e2e-cache.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
python-version: ['3.10', 'pypy-3.9-v7.x']
|
||||
python-version: ['3.9', 'pypy-3.9-v7.x']
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup Python
|
||||
|
@ -47,7 +47,6 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: 'pipenv'
|
||||
# - run: python -m pip install pip==22.3.1
|
||||
- name: Install pipenv
|
||||
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
||||
- name: Install dependencies
|
||||
|
@ -56,9 +55,9 @@ jobs:
|
|||
mv ./__tests__/data/Pipfile.lock .
|
||||
mv ./__tests__/data/Pipfile .
|
||||
if ("${{ matrix.python-version }}" -Match "pypy") {
|
||||
pipenv install --python pypy --keep-outdated
|
||||
pipenv install --python pypy # --keep-outdated
|
||||
} else {
|
||||
pipenv install --python ${{ matrix.python-version }} --keep-outdated
|
||||
pipenv install --python ${{ matrix.python-version }} # --keep-outdated
|
||||
}
|
||||
|
||||
python-poetry-dependencies-caching:
|
||||
|
@ -118,7 +117,6 @@ jobs:
|
|||
python-version: ${{ matrix.python-version }}
|
||||
cache: 'pipenv'
|
||||
cache-dependency-path: '**/pipenv-requirements.txt'
|
||||
# - run: python -m pip install pip==22.3.1
|
||||
- name: Install pipenv
|
||||
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
||||
- name: Install dependencies
|
||||
|
@ -127,7 +125,7 @@ jobs:
|
|||
mv ./__tests__/data/Pipfile.lock .
|
||||
mv ./__tests__/data/Pipfile .
|
||||
if ("${{ matrix.python-version }}" -Match "pypy") {
|
||||
pipenv install --keep-outdated --python pypy
|
||||
pipenv install --python pypy # --keep-outdated
|
||||
} else {
|
||||
pipenv install --keep-outdated --python ${{ matrix.python-version }}
|
||||
pipenv install --python ${{ matrix.python-version }} # --keep-outdated
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue