Skip to content
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
9 changes: 6 additions & 3 deletions .github/workflows/tests_mr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Configure python
run: |
python -m pip install --upgrade pip
python -m pip install poetry
python -m pip install flake8 pytest
pip install -e .
- name: Install dependencies
run: |
python -m poetry install
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand All @@ -35,4 +38,4 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
python -m poetry run pytest
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ scikit-image = [

[tool.poetry.group.dev.dependencies]
pytest = ">=8.1.1"
vtk = "*"
# vtk 9.7.0 dropped cp39 wheels (and publishes no requires-python metadata,
# so Poetry cannot exclude it automatically). Pin the last cp39 release there.
vtk = [
{ version = ">=9.0,<9.7", python = "<3.10" },
{ version = "*", python = ">=3.10" },
]
pre-commit = "*"
pyvista = "^0.43.2"
coverage = ">=7.0.1"
Expand Down
Loading