File tree 1 file changed +12
-11
lines changed
1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change
1
+ # Python CircleCI 2.1 configuration file
2
+ #
1
3
# As much as possible, this file should be kept in sync with:
2
4
# https://github.com/napari/napari/blob/main/.circleci/config.yaml
3
- # Use the latest 2.1 version of CircleCI pipeline process engine.
4
- # See : https://circleci.com/docs/2.1/configuration-reference
5
+ #
6
+ # Check for more details : https://circleci.com/docs/2.1/configuration-reference
5
7
version : 2.1
8
+
6
9
# Orbs are reusable packages of CircleCI configuration that you may share across projects.
7
10
# See: https://circleci.com/docs/2.1/orb-intro/
8
11
orbs :
9
12
python :
circleci/[email protected]
13
+
10
14
jobs :
11
15
build-docs :
12
16
docker :
13
- # A list of available CircleCI Docker convenience images are available here: https://circleci.com/developer/images/image/cimg/python
14
- - image : cimg/python:3.10.16
17
+ - image : cimg/python:3.10.17
15
18
steps :
16
19
- checkout :
17
20
path : docs
@@ -24,21 +27,19 @@ jobs:
24
27
- run :
25
28
name : Setup virtual environment
26
29
command : |
27
- python -m venv venv
28
- . venv/bin/activate
29
- python -m pip install --upgrade pip
30
-
30
+ uv venv
31
+ . .venv/bin/activate
31
32
- run :
32
33
name : Install napari-dev
33
34
command : |
34
- . venv/bin/activate
35
- python -m pip install -e "napari/[pyqt5,docs]"
35
+ . . venv/bin/activate
36
+ uv pip install -e "napari/[pyqt5,docs]"
36
37
environment :
37
38
PIP_CONSTRAINT : napari/resources/constraints/constraints_py3.10_docs.txt
38
39
- run :
39
40
name : Build docs
40
41
command : |
41
- . venv/bin/activate
42
+ . . venv/bin/activate
42
43
cd docs
43
44
xvfb-run --auto-servernum make html
44
45
environment :
You can’t perform that action at this time.
0 commit comments