File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed
Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,27 @@ jobs:
1919
2020 steps :
2121 - uses : actions/checkout@v4
22+
2223 - name : Install uv
2324 uses : astral-sh/setup-uv@v5
2425 with :
2526 enable-cache : true
2627 cache-dependency-glob : " uv.lock"
27- - name : Set up Python
28- run : uv python install
28+
29+ - name : Install Python (pin to a wheel-friendly version)
30+ run : |
31+ uv python install 3.12
32+ uv python pin 3.12
33+
34+ - name : Create virtualenv
35+ run : uv venv
36+
37+ - name : Preinstall h5py as wheel only
38+ run : uv pip install --only-binary=:all: "h5py==3.13.0"
39+
2940 - name : Install the project
30- run : |
31- uv pip install --only-binary=:all: "h5py==3.13.0"
32- uv sync --extra dev
33- - name : Run tests
34- run : uv run pytest tests
41+ run : uv sync --extra dev
42+
43+ - name : Run tests
44+ run : uv run pytest tests
3545
You can’t perform that action at this time.
0 commit comments