Skip to content

Commit 2fa425b

Browse files
committed
adapt CircleCI config
our docker image extends from `cimg/python-3.9-browsers` which does not install the chromedriver by default, this is now done using a CircleCI "orb"
1 parent 4efd8a6 commit 2fa425b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.circleci/config.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
version: 2
1+
version: 2.1
2+
3+
orbs:
4+
browser-tools: circleci/[email protected]
25

36
jobs:
47

@@ -15,6 +18,8 @@ jobs:
1518
steps:
1619
- checkout
1720

21+
- browser-tools/install-browser-tools
22+
1823
- run:
1924
name: ℹ️ CI Context
2025
command: |
@@ -37,8 +42,9 @@ jobs:
3742
command: |
3843
python -m venv venv
3944
. venv/bin/activate
45+
pip install --upgrade pip wheel
4046
git clone --depth 1 https://github.com/plotly/dash.git -b dev dash-main
41-
cd dash-main && pip install -e .[dev,testing] --progress-bar off && cd ~/dashjl
47+
cd dash-main && pip install -e .[ci,dev,testing] --progress-bar off && cd ..
4248
export PATH=$PATH:/home/circleci/.local/bin/
4349
pytest --headless --nopercyfinalize --junitxml=test-reports/dashjl.xml --percy-assets=test/assets/ test/integration/
4450
- store_artifacts:
@@ -56,4 +62,4 @@ workflows:
5662
version: 2
5763
build:
5864
jobs:
59-
- "test"
65+
- test

0 commit comments

Comments
 (0)