@@ -15,34 +15,39 @@ jobs:
15
15
config :
16
16
- { os: ubuntu-latest, py: 3.9 }
17
17
- { os: ubuntu-latest, py: "3.10" }
18
- - { os: ubuntu-latest, py: "3.11", doc: 1, whl: 1 }
19
- - { os: ubuntu-latest, py: "3.12" }
18
+ - { os: ubuntu-latest, py: "3.11" }
19
+ - { os: ubuntu-latest, py: "3.12", doc: 1 , whl: 1 }
20
20
- { os: windows-latest, py: "3.12", whl: 1 }
21
21
- { os: macos-latest, py: "3.12" }
22
22
23
23
# pure python wheels
24
24
25
25
steps :
26
26
- uses : actions/checkout@v4
27
+
28
+ - name : Install uv
29
+ uses : astral-sh/setup-uv@v5
30
+
27
31
- name : Set up Python ${{ matrix.config.py }}
28
32
uses : actions/setup-python@v5
29
33
with :
30
34
python-version : ${{ matrix.config.py }}
31
35
32
- - name : Install Python dependencies
36
+ - name : Install the project
33
37
run : |
34
- python -m pip install --upgrade pip
35
- python -m pip install .[dev,webview] build setuptools wheel
36
- python -m build
38
+ uv sync --extra dev --extra webview --dev
39
+ uv build
37
40
38
41
- name : Run tests
39
42
run : |
40
- pytest -v
41
- python check_examples.py --chisq
43
+ uv run python -m pytest -v
44
+ uv run python check_examples.py --chisq
45
+ shell : bash
42
46
env :
43
47
MPLBACKEND : agg
44
48
45
49
- name : Check that the docs build (linux only)
46
50
if : matrix.config.doc == 1
47
51
run : |
48
- make -j 4 -C doc SPHINXOPTS="-W --keep-going" html
52
+ source .venv/bin/activate
53
+ make -j 4 -C doc SPHINXOPTS="-W --keep-going" html
0 commit comments