comment --keep-outdated

This commit is contained in:
Dmitry Shibanov 2023-07-13 12:25:38 +02:00
parent 58b3ecabf8
commit 355ab83d00

View file

@ -39,7 +39,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] 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: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup Python - name: Setup Python
@ -47,7 +47,6 @@ jobs:
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
cache: 'pipenv' cache: 'pipenv'
# - run: python -m pip install pip==22.3.1
- name: Install pipenv - name: Install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
- name: Install dependencies - name: Install dependencies
@ -56,9 +55,9 @@ jobs:
mv ./__tests__/data/Pipfile.lock . mv ./__tests__/data/Pipfile.lock .
mv ./__tests__/data/Pipfile . mv ./__tests__/data/Pipfile .
if ("${{ matrix.python-version }}" -Match "pypy") { if ("${{ matrix.python-version }}" -Match "pypy") {
pipenv install --python pypy --keep-outdated pipenv install --python pypy # --keep-outdated
} else { } else {
pipenv install --python ${{ matrix.python-version }} --keep-outdated pipenv install --python ${{ matrix.python-version }} # --keep-outdated
} }
python-poetry-dependencies-caching: python-poetry-dependencies-caching:
@ -118,7 +117,6 @@ jobs:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
cache: 'pipenv' cache: 'pipenv'
cache-dependency-path: '**/pipenv-requirements.txt' cache-dependency-path: '**/pipenv-requirements.txt'
# - run: python -m pip install pip==22.3.1
- name: Install pipenv - name: Install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
- name: Install dependencies - name: Install dependencies
@ -127,7 +125,7 @@ jobs:
mv ./__tests__/data/Pipfile.lock . mv ./__tests__/data/Pipfile.lock .
mv ./__tests__/data/Pipfile . mv ./__tests__/data/Pipfile .
if ("${{ matrix.python-version }}" -Match "pypy") { if ("${{ matrix.python-version }}" -Match "pypy") {
pipenv install --keep-outdated --python pypy pipenv install --python pypy # --keep-outdated
} else { } else {
pipenv install --keep-outdated --python ${{ matrix.python-version }} pipenv install --python ${{ matrix.python-version }} # --keep-outdated
} }