mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Installing requirements into venv directory, caching it.
This commit is contained in:
parent
d40c3a5994
commit
aaf07bdfd6
1 changed files with 6 additions and 4 deletions
|
|
@ -20,15 +20,17 @@ jobs:
|
|||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
command: "pip install -r requirements.txt"
|
||||
name: Install Requirements
|
||||
command: |
|
||||
python3 -m venv venv
|
||||
. venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
- run:
|
||||
command: 'pytest -svv wrolpi modules'
|
||||
- save_cache:
|
||||
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
|
||||
paths:
|
||||
- ".venv"
|
||||
- "/usr/local/bin"
|
||||
- "/usr/local/lib/python3.6/site-packages"
|
||||
- "venv"
|
||||
|
||||
# Invoke jobs via workflows
|
||||
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue