Skip to content

Commit d3ccc7b

Browse files
committed
enabling tests and docs against spatialdata pre-release
1 parent 71d4f3e commit d3ccc7b

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/test_and_deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
pip install pytest-cov
5050
- name: Install dependencies
5151
run: |
52-
pip install -e ".[dev,test]"
52+
pip install --pre -e ".[dev,test]"
5353
- name: Test
5454
env:
5555
MPLBACKEND: agg

.readthedocs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ python:
1313
path: .
1414
extra_requirements:
1515
- docs
16+
- pre

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ test = [
4848
"pytest",
4949
"pytest-cov",
5050
]
51+
# this will be used by readthedocs and will make pip also look for pre-releases, generally installing the latest available version
52+
pre = [
53+
"spatialdata>=0.1.0-pre0"
54+
]
5155

5256
[tool.coverage.run]
5357
source = ["spatialdata_plot"]

0 commit comments

Comments
 (0)