Enable pipenv cache

This commit is contained in:
Vladimir Safonkin 2022-04-04 11:14:08 +02:00
parent 4dfe6d6083
commit a8c8095723

View file

@ -46,13 +46,13 @@ jobs:
uses: ./ uses: ./
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
# cache: 'pipenv' cache: 'pipenv'
- name: Install pipenv - name: Install pipenv
run: pipx install pipenv run: pipx install pipenv
- name: Install dependencies - name: Install dependencies
run: | run: |
cd __tests__/data cd __tests__/data
pipenv install pipenv install --verbose
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 }})
@ -109,11 +109,11 @@ jobs:
uses: ./ uses: ./
with: with:
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'
- name: Install pipenv - name: Install pipenv
run: pipx install pipenv run: pipx install pipenv
- name: Install dependencies - name: Install dependencies
run: | run: |
cd __tests__/data cd __tests__/data
pipenv install pipenv install --verbose