Skip to content

Commit 93cb259

Browse files
authored
Merge pull request #110 from bioimage-io/fix-ci
Fix release script in CI
2 parents 099aa49 + 4b2b898 commit 93cb259

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,17 @@ jobs:
2626
python -m pip install --upgrade pip
2727
pip --version
2828
29-
- name: Install dependencies
29+
- name: install tox
3030
run: |
31-
pip install wheel
32-
pip install tox tox-gh-actions
31+
pip install tox
3332
34-
- name: Test with tox
35-
run: tox
33+
- name: run tests
34+
run: |
35+
tox
3636
37-
- name: Check passthrough models
38-
run: python scripts/generate_passthrough_modules.py check
37+
- name: Install build dependencies
38+
run: |
39+
pip install wheel
3940
4041
- name: Check if there is a parent commit
4142
id: check-parent-commit

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
"Programming Language :: Python :: 3.8",
2626
],
2727
packages=find_namespace_packages(exclude=["tests"]), # Required
28-
install_requires=["bioimageio.spec", "imageio>=2.5", "numpy", "xarray"],
28+
install_requires=["bioimageio.spec", "imageio>=2.5", "numpy", "ruamel.yaml", "xarray"],
2929
include_package_data=True,
3030
extras_require={
31-
"test": ["pytest", "tox"],
31+
"test": ["pytest"],
3232
"dev": ["pre-commit"],
3333
"pytorch": ["pytorch>=1.6", "torchvision", "cudatoolkit>=10.1"],
3434
"tensorflow": ["tensorflow"],

tox.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[tox]
2+
envlist = py37
3+
4+
[testenv]
5+
deps =
6+
pytest
7+
commands =
8+
pytest

0 commit comments

Comments
 (0)