Skip to content

Commit 079a8b4

Browse files
author
Marc-André Rivet
committed
Merge remote-tracking branch 'origin/dev'
# Conflicts: # dash-renderer/package-lock.json
2 parents 041ab38 + 48d8e70 commit 079a8b4

30 files changed

+7492
-8137
lines changed

.circleci/config.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
flake8 dash setup.py && flake8 --ignore=E123,E126,E501,E722,E731,F401,F841,W503,W504 --exclude=metadata_test.py tests
5555
pylint dash setup.py --rcfile=$PYLINTRC
5656
pylint tests/unit tests/integration/devtools tests/integration/renderer tests/integration/dash_assets -d all -e C0410,C0411,C0412,C0413,W0109
57-
cd dash-renderer && npm install --ignore-scripts
57+
cd dash-renderer && npm ci
5858
npm run lint:test && npm run format:test
5959
- run:
6060
name: 🐍 Python Unit Tests
@@ -110,9 +110,9 @@ jobs:
110110
. venv/bin/activate && pip install --no-cache-dir --upgrade -e . --progress-bar off && mkdir packages
111111
cd dash-renderer && renderer build && python setup.py sdist && mv dist/* ../packages/ && cd ..
112112
git clone --depth 1 https://github.com/plotly/dash-core-components.git
113-
cd dash-core-components && npm install --ignore-scripts && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
113+
cd dash-core-components && npm ci && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
114114
git clone --depth 1 https://github.com/plotly/dash-renderer-test-components
115-
cd dash-renderer-test-components && npm install --ignore-scripts && npm run build:all && python setup.py sdist && mv dist/* ../packages/ && cd ..
115+
cd dash-renderer-test-components && npm ci && npm run build:all && python setup.py sdist && mv dist/* ../packages/ && cd ..
116116
ls -la packages
117117
- persist_to_workspace:
118118
root: ~/dash
@@ -160,9 +160,9 @@ jobs:
160160
command: |
161161
. venv/bin/activate && pip install --no-cache-dir --upgrade -e . --progress-bar off && mkdir packages
162162
git clone --depth 1 https://github.com/plotly/dash-table.git
163-
cd dash-table && npm install --ignore-scripts && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
163+
cd dash-table && npm ci && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
164164
git clone --depth 1 https://github.com/plotly/dash-html-components.git
165-
cd dash-html-components && npm install --ignore-scripts && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
165+
cd dash-html-components && npm ci && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
166166
ls -la packages
167167
- persist_to_workspace:
168168
root: ~/dash
@@ -189,6 +189,7 @@ jobs:
189189
- image: circleci/python:3.7-stretch-node-browsers
190190
environment:
191191
PERCY_PARALLEL_TOTAL: -1
192+
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: True
192193
PYVERSION: python37
193194
parallelism: 3
194195
steps:
@@ -218,6 +219,10 @@ jobs:
218219
path: test-reports
219220
- store_artifacts:
220221
path: /tmp/dash_artifacts
222+
- run:
223+
name: 🦔 percy finalize
224+
command: npx percy finalize --all
225+
when: on_fail
221226

222227
test-36:
223228
<<: *test
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
presets: [
3+
'@babel/preset-env',
4+
'@babel/preset-react'
5+
]
6+
};

0 commit comments

Comments
 (0)