mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
only create venv if cache misses
This commit is contained in:
parent
43ed722a8d
commit
f30176a765
1 changed files with 4 additions and 1 deletions
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue