File tree Expand file tree Collapse file tree 4 files changed +21
-13
lines changed
Expand file tree Collapse file tree 4 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 2828 - name : Install package
2929 run : |
3030 python -m pip install --upgrade pip
31- pip install .[test]
31+ pip install .
32+ pip install --group test
3233 - name : Pytest
3334 run : |
3435 pytest -m "not library" -v
Original file line number Diff line number Diff line change 2020 - name : Install package
2121 run : |
2222 python -m pip install --upgrade pip
23- pip install .[test]
23+ pip install .
24+ pip install --group test
2425 - name : Pytest
2526 run : |
2627 pytest --cov=probeinterface --cov-report xml:./coverage.xml
Original file line number Diff line number Diff line change 11version : 2
22
33build :
4- os : ubuntu-20 .04
4+ os : ubuntu-24 .04
55 tools :
66 python : " 3.10"
7+ jobs :
8+ install :
9+ - pip install -U pip
10+ - pip install .
11+ - pip install --group docs
712
813sphinx :
914 configuration : doc/conf.py
10-
11- python :
12- install :
13- - method : pip
14- path : .
15- extra_requirements :
16- - docs
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ build-backend = "hatchling.build"
3737[tool .hatch .build ]
3838sources = [" src" ]
3939
40- [project . optional-dependencies ]
40+ [dependency-groups ]
4141
4242test = [
4343 " jsonschema" ,
@@ -47,18 +47,26 @@ test = [
4747 " scipy" ,
4848 " pandas" ,
4949 " h5py" ,
50- " zarr>=2.16.0,<3.0.0"
50+ " zarr>=2.16.0,<3.0.0" ,
5151]
5252
5353docs = [
5454 " pillow" ,
5555 " sphinx-gallery" ,
5656 " sphinx_rtd_theme" ,
57- " matplotlib==3.2.2 " ,
57+ " matplotlib" ,
5858 " scipy" ,
5959 " pandas" ,
6060]
6161
62+ dev = [
63+ {include-group = " test" },
64+ {include-group = " docs" },
65+ " pre-commit" ,
66+ " tqdm" , # used in resources/generate_cambridgeneurotech_library.py
67+ " shapely" , # used in resources/generate_cambridgeneurotech_library.py
68+ ]
69+
6270[tool .pytest .ini_options ]
6371markers = [
6472 " library" ,
You can’t perform that action at this time.
0 commit comments