File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 9
9
- checkout
10
10
11
11
# Set up a cached virtualenv in which to install things
12
- - run :
13
- name : Merge requirements
14
- command : |
15
- cat scripts/linting/requirements.txt >> scripts/requirements.txt
16
- cat scripts/typing/requirements.txt >> scripts/requirements.txt
17
12
- restore_cache :
18
13
name : Restore build dependency cache
19
- key : deps-venv-{{ .Branch }}-{{ .Environment.CIRCLE_STAGE }}-{{ checksum "scripts/requirements.txt" }}
14
+ key : deps-venv-{{ .Branch }}-{{ .Environment.CIRCLE_STAGE }}-{{ checksum "scripts/requirements-dev .txt" }}
20
15
- run :
21
16
name : Install dependencies
22
17
command : |
23
18
python3 -m venv venv
24
19
. venv/bin/activate
25
- pip install -r scripts/requirements.txt
20
+ pip install -r scripts/requirements-dev .txt
26
21
- save_cache :
27
22
name : Save build dependency cache
28
- key : deps-venv-{{ .Branch }}-{{ .Environment.CIRCLE_STAGE }}-{{ checksum "scripts/requirements.txt" }}
23
+ key : deps-venv-{{ .Branch }}-{{ .Environment.CIRCLE_STAGE }}-{{ checksum "scripts/requirements-dev .txt" }}
29
24
paths :
30
25
- " venv"
31
26
You can’t perform that action at this time.
0 commit comments