Skip to content

Enabling tests and docs against spatialdata pre-release #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 20, 2024
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/test_and_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
pip install pytest-cov
- name: Install dependencies
run: |
pip install -e ".[dev,test]"
pip install --pre -e ".[dev,test]"
- name: Test
env:
MPLBACKEND: agg
Expand Down
1 change: 1 addition & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ python:
path: .
extra_requirements:
- docs
- pre
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ test = [
"pytest",
"pytest-cov",
]
# this will be used by readthedocs and will make pip also look for pre-releases, generally installing the latest available version
pre = [
"spatialdata>=0.1.0-pre0"
]

[tool.coverage.run]
source = ["spatialdata_plot"]
Expand Down