File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 - name : Install package and dependencies
3333 run : |
3434 pip install git+https://github.com/funkelab/funlib.learn.torch
35- python -m pip install -e .[docs]
35+ python -m pip install --group docs - e .
3636
3737 - name : Build documentation
3838 run : sphinx-build docs/source docs/build/html -b html
Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - " *"
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ test :
13+ name : ${{ matrix.platform }} (${{ matrix.python-version }})
14+ runs-on : ${{ matrix.platform }}
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ python-version : [ "3.10", "3.11", "3.12" ]
19+ platform : [ ubuntu-latest ]
20+
21+ steps :
22+ - uses : actions/checkout@v3
23+
24+ - name : Install uv
25+ uses : astral-sh/setup-uv@v7
26+
27+ - name : Run tests
28+ run : uv run --python=${{ matrix.python-version }} --group dev pytest -v --color
29+ yes --cov gunpowder --cov-report xml
30+
31+ - uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change @@ -38,32 +38,12 @@ dependencies = [
3838 " augment-nd>=0.1.3" ,
3939 " tqdm" ,
4040 " funlib.geometry>=0.3" ,
41- " zarr>=2,< 3" ,
41+ " zarr>=3" ,
4242 " networkx>=3.1" ,
4343 " funlib.persistence>=0.7" ,
4444]
4545
4646[project .optional-dependencies ]
47- dev = [
48- " pytest" ,
49- " pytest-cov" ,
50- " flake8" ,
51- " mypy" ,
52- " types-requests" ,
53- " types-tqdm" ,
54- " black>=26" ,
55- " ruff" ,
56- ]
57- docs = [
58- " sphinx" ,
59- " sphinx_rtd_theme" ,
60- " sphinx_togglebutton" ,
61- " tomli" ,
62- " jupyter_sphinx" ,
63- " ipykernel" ,
64- " matplotlib" ,
65- " torch" ,
66- ]
6747pytorch = [' torch' ]
6848tensorflow = [
6949 # TF doesn't provide <2.0 wheels for py>=3.8 on pypi
You can’t perform that action at this time.
0 commit comments