Always install code updates even if there was a python dependency cache hit.

Split pip upgrade and package installation.
pull/3272/head
derekpierre 2023-10-05 11:32:53 -04:00
parent 4b978025a2
commit b9bfce9d81
1 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