File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 build-and-test :
11- runs-on : ${{ matrix.os }}
12- strategy :
13- matrix :
14- os : [ubuntu-latest, macos-latest]
11+ runs-on : ubuntu-latest
1512 steps :
1613 - name : Checkout repository
1714 uses : actions/checkout@v4
15+ with :
16+ submodules : ' recursive'
17+ fetch-depth : 0
1818
1919 - name : Install build dependencies (Linux)
2020 if : runner.os == 'Linux'
@@ -34,14 +34,17 @@ jobs:
3434 with :
3535 python-version : ' 3.10'
3636
37- - name : Install Python test dependencies
37+ - name : Install UV and sync environment
3838 run : |
3939 python -m pip install --upgrade pip
40- python -m pip install "h5py>=3.15.1" "pytest>=9.0.2" "tqdm>=4.67.1" uv
40+ python -m pip install uv
41+ cd tests
42+ uv sync
4143
42- - name : Run tests with uv
44+ - name : Run tests with uv (from tests directory)
4345 run : |
44- uv run python -m pytest -q tests
46+ cd tests
47+ uv run pytest -q
4548 env :
4649 PYTHONPATH : " ${{ github.workspace }}"
4750
You can’t perform that action at this time.
0 commit comments