Skip to content

Commit 926fef2

Browse files
committed
chore: add python 3.11 tests to gh action and disable numba jit for pytest
1 parent 30140f5 commit 926fef2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
fail-fast: true
2525
matrix:
26-
python-version: ["3.10"]
26+
python-version: ["3.10", "3.11"]
2727
os: [ubuntu-latest]
2828
runs-on: ${{ matrix.os }}
2929
steps:
@@ -57,6 +57,7 @@ jobs:
5757
- name: Run tests
5858
run: |
5959
source .venv/bin/activate
60+
export NUMBA_DISABLE_JIT=1
6061
poetry run pytest --cov cellseg_models_pytorch/ --cov-report xml
6162
6263
- name: Upload coverage

cellseg_models_pytorch/models/cellpose/cellpose.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ def __init__(
5454
Omnipose:
5555
- https://www.biorxiv.org/content/10.1101/2021.11.03.467199v2
5656
57-
5857
Note:
5958
Minor differences from the original implementation.
6059
- Different encoder, (any encoder from timm-library).

0 commit comments

Comments
 (0)