Skip to content

Commit 7880d5b

Browse files
author
Marc-André Rivet
committed
Merge branch 'master' of github.com:plotly/dash
2 parents 6f112f4 + ee165d9 commit 7880d5b

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

.circleci/config.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ jobs:
66
steps:
77
- run: percy finalize --all
88

9+
"artifacts":
10+
docker:
11+
- image: circleci/python:3.7-stretch-node-browsers
12+
environment:
13+
PYVERSION: python37
14+
steps:
15+
- checkout
16+
- run: echo $PYVERSION > ver.txt
17+
- restore_cache:
18+
key: dep-{{ checksum "ver.txt" }}-{{ checksum "requires-ci.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
19+
- attach_workspace:
20+
at: ~/dash
21+
- store_artifacts:
22+
path: ~/dash/packages
23+
destination: /tmp/packages
24+
925
"lint-unit-37": &lint-unit
1026
working_directory: ~/dash
1127
docker:
@@ -71,6 +87,17 @@ jobs:
7187
- run: echo $PYVERSION > ver.txt
7288
- restore_cache:
7389
key: dep-{{ checksum "ver.txt" }}-{{ checksum "requires-ci.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
90+
- run:
91+
name: 🚧 pip dev requirements
92+
command: |
93+
sudo pip install --upgrade virtualenv
94+
python -m venv venv || virtualenv venv && . venv/bin/activate
95+
pip install -e . -r requires-install.txt -r requires-ci.txt -r requires-testing.txt --quiet
96+
- save_cache:
97+
key: dep-{{ checksum "ver.txt" }}-{{ checksum "requires-ci.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
98+
paths:
99+
- "venv"
100+
74101
- run:
75102
name: 🚧 build core
76103
command: |
@@ -112,6 +139,16 @@ jobs:
112139
- run: echo $PYVERSION > ver.txt
113140
- restore_cache:
114141
key: dep-{{ checksum "ver.txt" }}-{{ checksum "requires-ci.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
142+
- run:
143+
name: 🚧 pip dev requirements
144+
command: |
145+
sudo pip install --upgrade virtualenv
146+
python -m venv venv || virtualenv venv && . venv/bin/activate
147+
pip install -e . -r requires-install.txt -r requires-ci.txt -r requires-testing.txt --quiet
148+
- save_cache:
149+
key: dep-{{ checksum "ver.txt" }}-{{ checksum "requires-ci.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
150+
paths:
151+
- "venv"
115152
- run:
116153
name: 🚧 build misc
117154
command: |
@@ -198,6 +235,17 @@ workflows:
198235
- "percy-finalize":
199236
requires:
200237
- test-37
238+
- "artifacts":
239+
requires:
240+
- percy-finalize
241+
filters:
242+
branches:
243+
only:
244+
- master
245+
- dev
246+
tags:
247+
only: /v*/
248+
201249
python3.6:
202250
jobs:
203251
- lint-unit-36

requires-testing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pytest<5.0.0
1+
pytest
22
pytest-sugar
33
pytest-mock
44
lxml

0 commit comments

Comments
 (0)