fix ci for pipenv
This commit is contained in:
parent
9a115684c9
commit
f9d64c1daf
1 changed files with 14 additions and 7 deletions
21
.github/workflows/e2e-cache.yml
vendored
21
.github/workflows/e2e-cache.yml
vendored
|
@ -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
|
Loading…
Add table
Reference in a new issue