@@ -32,10 +32,14 @@ jobs:
3232 with :
3333 python-version : " 3.9"
3434
35+ - name : Install uv
36+ uses : astral-sh/setup-uv@v4
37+ with :
38+ enable-cache : true
39+ cache-dependency-glob : " pyproject.toml"
40+
3541 - name : Install build dependencies
36- run : |
37- python -m pip install --upgrade pip
38- pip install build scikit-build-core setuptools-scm
42+ run : uv pip install --system build scikit-build-core setuptools-scm
3943
4044 - name : Build CFD library (Unix)
4145 if : runner.os != 'Windows'
@@ -106,6 +110,12 @@ jobs:
106110 with :
107111 python-version : " ${{ matrix.python }}"
108112
113+ - name : Install uv
114+ uses : astral-sh/setup-uv@v4
115+ with :
116+ enable-cache : true
117+ cache-dependency-glob : " "
118+
109119 - uses : actions/download-artifact@v4
110120 with :
111121 name : wheel-${{ matrix.os }}
@@ -114,16 +124,14 @@ jobs:
114124 - name : Install wheel (Unix)
115125 if : runner.os != 'Windows'
116126 run : |
117- python -m pip install --upgrade pip
118- pip install dist/*.whl
119- pip install pytest numpy
127+ uv pip install --system dist/*.whl
128+ uv pip install --system pytest numpy
120129
121130 - name : Install wheel (Windows)
122131 if : runner.os == 'Windows'
123132 run : |
124- python -m pip install --upgrade pip
125- pip install (Get-ChildItem dist/*.whl).FullName
126- pip install pytest numpy
133+ uv pip install --system (Get-ChildItem dist/*.whl).FullName
134+ uv pip install --system pytest numpy
127135
128136 - name : Test import (Unix)
129137 if : runner.os != 'Windows'
0 commit comments