Skip to content

Commit 2e5f7c6

Browse files
committed
Merge branch 'master' into use-app-run
2 parents be61975 + 618b66c commit 2e5f7c6

File tree

1 file changed

+22
-13
lines changed

1 file changed

+22
-13
lines changed

.circleci/config.yml

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
version: 2
1+
version: 2.1
2+
3+
orbs:
4+
browser-tools: circleci/browser-tools@1.4.8
25

36
jobs:
4-
python-3.6: &test-template
7+
python-3-8: &test-template
58
docker:
6-
- image: circleci/python:3.6-stretch-node-browsers
9+
- image: cimg/python:3.8.20-browsers
710
auth:
811
username: dashautomation
912
password: $DASH_PAT_DOCKERHUB
@@ -14,6 +17,10 @@ jobs:
1417
steps:
1518
- checkout
1619

20+
- browser-tools/install-browser-tools:
21+
install-firefox: false
22+
install-geckodriver: false
23+
1724
- run:
1825
name: ✍️ Write job name.
1926
command: echo $CIRCLE_JOB > circlejob.txt
@@ -22,10 +29,9 @@ jobs:
2229
key: deps1-{{ .Branch }}-{{ checksum "circlejob.txt" }}-{{ checksum "tests/requirements.txt" }}-{{ checksum ".circleci/config.yml" }}
2330

2431
- run:
25-
name: 🏗️ Create virtualenv
32+
name: 🏗️ Create venv
2633
command: |
27-
sudo pip install virtualenv
28-
python -m venv venv || virtualenv venv
34+
python -m venv venv
2935
3036
- run:
3137
name: 🏗️ Install requirements
@@ -45,9 +51,9 @@ jobs:
4551
pytest
4652
when: always
4753

48-
python-3.7-install-test:
54+
python-3-12-install-test:
4955
docker:
50-
- image: circleci/python:3.7-stretch-node-browsers
56+
- image: cimg/python:3.12.7-browsers
5157
auth:
5258
username: dashautomation
5359
password: $DASH_PAT_DOCKERHUB
@@ -58,6 +64,10 @@ jobs:
5864
steps:
5965
- checkout
6066

67+
- browser-tools/install-browser-tools:
68+
install-firefox: false
69+
install-geckodriver: false
70+
6171
- run:
6272
name: ✍️ Write job name.
6373
command: echo $CIRCLE_JOB > circlejob.txt
@@ -66,10 +76,9 @@ jobs:
6676
key: deps1-{{ .Branch }}-{{ checksum "circlejob.txt" }}-{{ checksum "tests/requirements.txt" }}-{{ checksum ".circleci/config.yml" }}
6777

6878
- run:
69-
name: 🏗️ Create virtualenv
79+
name: 🏗️ Create venv
7080
command: |
71-
sudo pip install virtualenv
72-
python -m venv venv || virtualenv venv
81+
python -m venv venv
7382
7483
- run:
7584
name: 🏗️ Install requirements
@@ -102,7 +111,7 @@ workflows:
102111
version: 2
103112
build:
104113
jobs:
105-
- python-3.6:
114+
- python-3-8:
106115
context: dash-docker-hub
107-
- python-3.7-install-test:
116+
- python-3-12-install-test:
108117
context: dash-docker-hub

0 commit comments

Comments
 (0)