Skip to content

Commit 73acb52

Browse files
committed
Update test.yml
Python 3.10 and full dependency compatibility test
1 parent f1c895d commit 73acb52

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17-
- name: Set up Python 3.8
17+
- name: Set up Python 3.10
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: 3.8
20+
python-version: 3.10
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
@@ -48,15 +48,30 @@ jobs:
4848
runs-on: macos-latest
4949
steps:
5050
- uses: actions/checkout@v4
51-
- name: Set up Python 3.8
51+
- name: Set up Python 3.10
5252
uses: actions/setup-python@v5
5353
with:
54-
python-version: 3.8
54+
python-version: 3.10
5555
- name: Install dependencies
5656
run: |
57-
python -m pip install --upgrade pip
58-
pip install wheel pytest
59-
pip install .[deepcell,astir]
57+
python -m pip install --upgrade pip setuptools wheel
58+
59+
# Core scientific stack (pin to stable, binary-available builds)
60+
pip install "numpy<2.0" "scipy>=1.11,<1.16" "pandas>=2.0,<3.0" "matplotlib>=3.7,<3.11" \
61+
"scikit-image==0.19.3" "tifffile==2021.11.2" "networkx>=2.6,<3.0" \
62+
"seaborn>=0.13,<0.14" "fastcluster==1.2.6"
63+
64+
# Core dependencies for IMC and ecosystem
65+
pip install "imctools>=2.1.8" "joblib>=1.2,<1.6" "leidenalg>=0.10.2" \
66+
"python-louvain>=0.16" "scanpy>=1.9,<1.12" "bbknn>=1.6" \
67+
"numpy-groupies>=0.9,<0.12" "parmap>=1.6,<2.0" \
68+
"seaborn-extensions>=0.2.1" "outdated>=0.2.2" "ordered-set>=4.1.0" "urlpath>=1.2.0" "PyYAML>=6.0"
69+
70+
# Optional backends used in your environment
71+
pip install "astir==0.1.5" "DeepCell==0.12.6"
72+
73+
# Finally install your package
74+
pip install -e .
6075
- name: Test with pytest
6176
run: |
6277
# Test package

0 commit comments

Comments
 (0)