1
0
Fork 0
mirror of synced 2024-06-27 18:40:52 +12:00

only create venv if cache misses

This commit is contained in:
Nick Sweeting 2020-07-28 07:31:11 -04:00
parent 43ed722a8d
commit f30176a765

View file

@ -59,9 +59,12 @@ jobs:
restore-keys: |
${{ runner.os }}-${{ matrix.python }}-venv-
- name: Install dependencies
- name: Create virtualenv
run: |
python3 -m venv .venv
if: steps.cache-venv.outputs.cache-hit != 'true'
- name: Install dependencies
source .venv/bin/activate
python -m pip install .
python -m pip install pytest bottle