1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2025-06-10 01:50:45 +09:00

Fixing pipenv CI (#444)

* work on fixing pipenv

* change installation of pipenv to curl

* add different logs

* regenerate pipefile.lock

* change pipenv ci
This commit is contained in:
Dmitry Shibanov 2022-06-29 19:09:14 +02:00 committed by GitHub
parent 00a5248c77
commit 766e8c6088
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 64 additions and 79 deletions

View file

@ -48,11 +48,12 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: 'pipenv'
- name: Install pipenv
run: pipx install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
- name: Install dependencies
run: |
cd __tests__/data
pipenv install --verbose
mv ./__tests__/data/Pipfile.lock .
mv ./__tests__/data/Pipfile .
pipenv install --keep-outdated
python-poetry-dependencies-caching:
name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }})
@ -112,8 +113,9 @@ jobs:
cache: 'pipenv'
cache-dependency-path: '**/pipenv-requirements.txt'
- name: Install pipenv
run: pipx install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
- name: Install dependencies
run: |
cd __tests__/data
pipenv install --verbose
mv ./__tests__/data/Pipfile.lock .
mv ./__tests__/data/Pipfile .
pipenv install --keep-outdated