Skip to content

Commit 01e8bf6

Browse files
committed
don't use tox
1 parent 7f26590 commit 01e8bf6

File tree

4 files changed

+9
-34
lines changed

4 files changed

+9
-34
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,11 @@ jobs:
3333
- uses: actions/setup-python@v4
3434
with:
3535
python-version: ${{ matrix.python-version }}
36+
cache: 'pip'
3637
- name: Install dependencies
37-
run: |
38-
pip install --upgrade pip
39-
pip install tox tox-gh-actions mypy
40-
- name: Test with tox
41-
run: tox
38+
run: pip install -e .[test]
39+
- name: Test with pytest
40+
run: pytest tests
4241
- name: Check passthrough models
4342
run: python scripts/generate_passthrough_modules.py check
4443
- name: Mypy

.github/workflows/release.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,11 @@ jobs:
1919
uses: actions/setup-python@v4
2020
with:
2121
python-version: "3.8"
22-
23-
- name: Upgrade pip
24-
run: |
25-
python -m pip install --upgrade pip
26-
pip --version
27-
22+
cache: 'pip'
2823
- name: Install dependencies
29-
run: |
30-
pip install wheel
31-
pip install tox tox-gh-actions
32-
33-
- name: Test with tox
34-
run: tox
35-
24+
run: pip install -e .[test]
25+
- name: Test with pytest
26+
run: pytest tests
3627
- name: Check passthrough models
3728
run: python scripts/generate_passthrough_modules.py check
3829

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"typing-extensions",
3939
],
4040
entry_points={"console_scripts": ["bioimageio = bioimageio.spec.__main__:app"]},
41-
extras_require={"test": ["pytest", "tox", "mypy"], "dev": ["pre-commit"]},
41+
extras_require={"test": ["black", "mypy", "pytest"], "dev": ["pre-commit"]},
4242
scripts=[
4343
"scripts/generate_json_specs.py",
4444
"scripts/generate_processing_docs.py",

tox.ini

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)