Skip to content

Commit

Permalink
Merge branch 'master' of github.com:plotly/dash
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-André Rivet committed Aug 6, 2019
2 parents 6f112f4 + ee165d9 commit 7880d5b
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
48 changes: 48 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ jobs:
steps:
- run: percy finalize --all

"artifacts":
docker:
- image: circleci/python:3.7-stretch-node-browsers
environment:
PYVERSION: python37
steps:
- checkout
- run: echo $PYVERSION > ver.txt
- restore_cache:
key: dep-{{ checksum "ver.txt" }}-{{ checksum "requires-ci.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
- attach_workspace:
at: ~/dash
- store_artifacts:
path: ~/dash/packages
destination: /tmp/packages

"lint-unit-37": &lint-unit
working_directory: ~/dash
docker:
Expand Down Expand Up @@ -71,6 +87,17 @@ jobs:
- run: echo $PYVERSION > ver.txt
- restore_cache:
key: dep-{{ checksum "ver.txt" }}-{{ checksum "requires-ci.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
- run:
name: 🚧 pip dev requirements
command: |
sudo pip install --upgrade virtualenv
python -m venv venv || virtualenv venv && . venv/bin/activate
pip install -e . -r requires-install.txt -r requires-ci.txt -r requires-testing.txt --quiet
- save_cache:
key: dep-{{ checksum "ver.txt" }}-{{ checksum "requires-ci.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
paths:
- "venv"

- run:
name: 🚧 build core
command: |
Expand Down Expand Up @@ -112,6 +139,16 @@ jobs:
- run: echo $PYVERSION > ver.txt
- restore_cache:
key: dep-{{ checksum "ver.txt" }}-{{ checksum "requires-ci.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
- run:
name: 🚧 pip dev requirements
command: |
sudo pip install --upgrade virtualenv
python -m venv venv || virtualenv venv && . venv/bin/activate
pip install -e . -r requires-install.txt -r requires-ci.txt -r requires-testing.txt --quiet
- save_cache:
key: dep-{{ checksum "ver.txt" }}-{{ checksum "requires-ci.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
paths:
- "venv"
- run:
name: 🚧 build misc
command: |
Expand Down Expand Up @@ -198,6 +235,17 @@ workflows:
- "percy-finalize":
requires:
- test-37
- "artifacts":
requires:
- percy-finalize
filters:
branches:
only:
- master
- dev
tags:
only: /v*/

python3.6:
jobs:
- lint-unit-36
Expand Down
2 changes: 1 addition & 1 deletion requires-testing.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest<5.0.0
pytest
pytest-sugar
pytest-mock
lxml
Expand Down

0 comments on commit 7880d5b

Please sign in to comment.