Skip to content

Commit 6288ccb

Browse files
committed
Careful about numpy<2
1 parent c26a88f commit 6288ccb

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.github/workflows/ci_pip.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ jobs:
5757
cd NeuroML2
5858
python run_hhcell.py -nogui
5959
60+
61+
- name: Install OMV
62+
run: |
63+
pip install git+https://github.com/OpenSourceBrain/osb-model-validation
64+
pip install scipy sympy matplotlib cython pandas tables
65+
66+
- name: Run OMV tests
67+
run: |
68+
omv all -V
69+
6070
- name: Final version info
6171
run: |
72+
73+
omv list -V # list installed engines
6274
pip list

.github/workflows/omv-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ jobs:
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

28+
- name: Install numpy < 2 if necessary...
29+
run: |
30+
if [[ ${{ matrix.python-version }} == '3.10' ]] || [[ ${{ matrix.python-version }} == '3.11' ]] || [[ ${{ matrix.python-version }} == '3.12' ]]; then pip install "numpy<2" ; fi ;
31+
pip list
32+
2833
- name: Install OMV
2934
run: |
3035
pip install git+https://github.com/OpenSourceBrain/osb-model-validation
3136
pip install scipy sympy matplotlib cython pandas tables
3237
3338
34-
- name: Install numpy < 2 if necessary...
35-
run: |
36-
if [[ ${{ matrix.python-version }} == '3.10' ]] || [[ ${{ matrix.python-version }} == '3.11' ]]; then pip install "numpy<2" ; fi ;
37-
pip list
38-
3939
- name: Run OMV tests on engine ${{ matrix.engine }}
4040
run: |
4141
omv all -V --engine=${{ matrix.engine }}

0 commit comments

Comments
 (0)