Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/full_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
- name: Install package
run: |
python -m pip install --upgrade pip
pip install .[test]
pip install .
pip install --group test
- name: Pytest
run: |
pytest -m "not library" -v
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/full_tests_codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
- name: Install package
run: |
python -m pip install --upgrade pip
pip install .[test]
pip install .
pip install --group test
- name: Pytest
run: |
pytest --cov=probeinterface --cov-report xml:./coverage.xml
Expand Down
14 changes: 6 additions & 8 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
version: 2

build:
os: ubuntu-20.04
os: ubuntu-24.04
tools:
python: "3.10"
jobs:
install:
- pip install -U pip
- pip install .
- pip install --group docs

sphinx:
configuration: doc/conf.py

python:
install:
- method: pip
path: .
extra_requirements:
- docs
14 changes: 11 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ build-backend = "hatchling.build"
[tool.hatch.build]
sources = ["src"]

[project.optional-dependencies]
[dependency-groups]

test = [
"jsonschema",
Expand All @@ -47,18 +47,26 @@ test = [
"scipy",
"pandas",
"h5py",
"zarr>=2.16.0,<3.0.0"
"zarr>=2.16.0,<3.0.0",
]

docs = [
"pillow",
"sphinx-gallery",
"sphinx_rtd_theme",
"matplotlib==3.2.2",
"matplotlib",
"scipy",
"pandas",
]

dev = [
{include-group = "test"},
{include-group = "docs"},
"pre-commit",
"tqdm", # used in resources/generate_cambridgeneurotech_library.py
"shapely", # used in resources/generate_cambridgeneurotech_library.py
]

[tool.pytest.ini_options]
markers = [
"library",
Expand Down
Loading