Skip to content

Commit c801be3

Browse files
authored
Merge branch 'dev' into same-module
2 parents 9882304 + c3b4046 commit c801be3

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

Diff for: .circleci/config.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ jobs:
230230
command: |
231231
python -m venv venv
232232
. venv/bin/activate
233-
git clone --depth 1 https://github.com/plotly/dash.git -b ${CIRCLE_BRANCH} dash-main
234-
cd dash-main && pip install -e .[dev,testing] --progress-bar off && cd ..
233+
npm ci
234+
pip install --no-cache-dir --upgrade -e .[dev,testing] --progress-bar off
235235
git clone --depth 1 https://github.com/plotly/dashR.git -b dev dashR
236236
git clone --depth 1 https://github.com/plotly/dash-html-components.git
237237
git clone --depth 1 https://github.com/plotly/dash-core-components.git
@@ -303,8 +303,7 @@ jobs:
303303
command: |
304304
python -m venv venv
305305
. venv/bin/activate
306-
cd dash-main/\@plotly/dash-generator-test-component-nested && npm ci && npm run build && sudo R CMD INSTALL . && cd ../../..
307-
cd dash-main/\@plotly/dash-generator-test-component-standard && npm ci && npm run build && sudo R CMD INSTALL . && cd ../../..
306+
npm run setup-tests.R
308307
export PATH=$PATH:/home/circleci/.local/bin/
309308
pytest --nopercyfinalize --junitxml=test-reports/dashr.xml dashR/tests/integration/dopsa/
310309
- store_artifacts:

Diff for: package.json

+9-4
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,21 @@
1010
"private::lint.pylint-dash": "PYLINTRC=${PYLINTRC:=.pylintrc37} && pylint dash setup.py --rcfile=$PYLINTRC",
1111
"private::lint.pylint-tests": "PYLINTRC=${PYLINTRC:=.pylintrc37} && pylint tests/unit tests/integration -d all --rcfile=$PYLINTRC",
1212
"private::lint.renderer": "cd dash-renderer && npm run lint",
13-
"private::test.setup-nested": "cd \\@plotly/dash-generator-test-component-nested && npm ci && npm run build && pip install -e .",
14-
"private::test.setup-standard": "cd \\@plotly/dash-generator-test-component-standard && npm ci && npm run build && pip install -e .",
13+
"private::test.setup-nested": "cd \\@plotly/dash-generator-test-component-nested && npm ci && npm run build",
14+
"private::test.setup-standard": "cd \\@plotly/dash-generator-test-component-standard && npm ci && npm run build",
15+
"private::test.py.deploy-nested": "npm run private::test.setup-nested && cd \\@plotly/dash-generator-test-component-nested && pip install -e .",
16+
"private::test.py.deploy-standard": "npm run private::test.setup-standard && cd \\@plotly/dash-generator-test-component-standard && pip install -e .",
17+
"private::test.R.deploy-nested": "npm run private::test.setup-nested && cd \\@plotly/dash-generator-test-component-nested && sudo R CMD INSTALL .",
18+
"private::test.R.deploy-standard": "npm run private::test.setup-standard && cd \\@plotly/dash-generator-test-component-standard && sudo R CMD INSTALL .",
1519
"private::test.unit-dash": "PYTHONPATH=~/dash/tests/assets pytest tests/unit",
1620
"private::test.unit-renderer": "cd dash-renderer && npm run test",
1721
"private::test.integration-dash": "TESTFILES=$(circleci tests glob \"tests/integration/**/test_*.py\" | circleci tests split --split-by=timings) && pytest --headless --nopercyfinalize --junitxml=test-reports/junit_intg.xml ${TESTFILES}",
1822
"format": "run-s private::format.*",
1923
"initialize": "run-s private::initialize.*",
2024
"lint": "run-s private::lint.*",
21-
"setup-tests": "run-s private::test.setup-*",
22-
"test.integration": "run-s setup-tests private::test.integration-*",
25+
"setup-tests.py": "run-s private::test.py.deploy-*",
26+
"setup-tests.R": "run-s private::test.R.deploy-*",
27+
"test.integration": "run-s setup-tests.py private::test.integration-*",
2328
"test.unit": "run-s private::test.unit-**"
2429
},
2530
"devDependencies": {

0 commit comments

Comments
 (0)