mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-22 14:13:01 +02:00
only create venv if cache misses
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user