fixing pipenv

This commit is contained in:
Dmitry Shibanov 2022-06-29 20:16:07 +02:00
parent 2a20d9b5e0
commit 1e52de40a4

View file

@ -50,10 +50,15 @@ jobs:
- 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
shell: pwsh
run: | run: |
mv ./__tests__/data/Pipfile.lock . mv ./__tests__/data/Pipfile.lock .
mv ./__tests__/data/Pipfile . mv ./__tests__/data/Pipfile .
pipenv install --keep-outdated --python 3 if (${{ matrix.python-version }} -Match "pypy") {
pipenv install --keep-outdated --python ${{ matrix.python-version }}
} else {
pipenv install --keep-outdated --python pypy
}
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 }})
@ -115,7 +120,12 @@ jobs:
- 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
shell: pwsh
run: | run: |
mv ./__tests__/data/Pipfile.lock . mv ./__tests__/data/Pipfile.lock .
mv ./__tests__/data/Pipfile . mv ./__tests__/data/Pipfile .
pipenv install --keep-outdated --python 3 if (${{ matrix.python-version }} -Match "pypy") {
pipenv install --keep-outdated --python ${{ matrix.python-version }}
} else {
pipenv install --keep-outdated --python pypy
}