fix ci for pipenv

This commit is contained in:
Dmitry Shibanov 2022-01-13 12:22:28 +03:00
parent 9a115684c9
commit f9d64c1daf

View File

@ -42,16 +42,19 @@ jobs:
python-version: ['3.7', '3.8', '3.9', 'pypy-3.7-v7.3.5', 'pypy-3.7-v7.x']
steps:
- uses: actions/checkout@v2
- name: Install pipenv
run: pipx install pipenv
- name: Setup Python
uses: ./
with:
python-version: ${{ matrix.python-version }}
cache: 'pipenv'
- run: pip install --user pipenv
- name: Install dependencies
run: pipenv install flake8
shell: pwsh
run: |
if ($IsMacOS) {
$env:PATH += ":/Users/runner/.local/bin"
}
pipenv install flake8
python-pip-dependencies-caching-path:
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
@ -81,13 +84,17 @@ jobs:
python-version: ['3.7', '3.8', '3.9', 'pypy-3.7-v7.3.5', 'pypy-3.7-v7.x']
steps:
- uses: actions/checkout@v2
- name: Install pipenv
run: pipx install pipenv
- name: Setup Python
uses: ./
with:
python-version: ${{ matrix.python-version }}
cache: 'pipenv'
cache-dependency-path: '**/requirements-linux.txt'
- run: pip install --user pipenv
- name: Install dependencies
run: pipenv install flake8
shell: pwsh
run: |
if ($IsMacOS) {
$env:PATH += ":/Users/runner/.local/bin"
}
pipenv install flake8