Merge pull request #3272 from derekpierre/bad-cache

Fix inconsistent python dependency updates when cached dependencies used
pull/3282/head
David Núñez 2023-10-11 07:30:15 +02:00 committed by GitHub
commit dbba3bfd59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -39,11 +39,12 @@ jobs:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-pip-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('dev-requirements.txt', 'requirements.txt') }}
- name: Install Dependencies
- name: Upgrade pip
if: steps.python_cache.outputs.cache-hit != 'true'
run: |
python -m pip install --upgrade pip
pip install .[dev]
run: python -m pip install --upgrade pip
- name: Install packages (incl. updated code)
run: pip install .[dev]
- name: Check CLI Entrypoint
run: nucypher --help

View File