Skip to content

Commit 274d4f4

Browse files
committed
Tweak test install & tolerance...
1 parent 3b229e1 commit 274d4f4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/omv-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: [ "3.9", "3.10", "3.11", "3.12"] # not yet working: "3.12"??
17+
python-version: [ "3.9", "3.10", "3.11"] # not yet working: "3.12"??
1818
engine: [ jNeuroML, jNeuroML_NEURON, jNeuroML_validate, jNeuroML_Moose, jNeuroML_EDEN, jNeuroML_NetPyNE ]
1919

2020
steps:
@@ -25,15 +25,17 @@ jobs:
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

28+
2829
- name: Install numpy < 2 if necessary...
2930
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+
if [[ ${{ matrix.engine }} == *"MOOSE"* ]] || [[ ${{ matrix.engine }} == *"Moose"* ]]; then pip install "numpy<2" ; fi ;
3132
pip list
3233
3334
- name: Install OMV
3435
run: |
3536
pip install git+https://github.com/OpenSourceBrain/osb-model-validation
3637
pip install scipy sympy matplotlib cython pandas tables
38+
pip install setuptools --upgrade # needed for Eden on py 3.12
3739
3840
3941
- name: Run OMV tests on engine ${{ matrix.engine }}

NeuroML2/test_files/.test.hh.jnmlmoose.omt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ experiments:
1414
spike detection:
1515
method: threshold
1616
threshold: 0
17-
tolerance: 0.0009566968781470178
17+
tolerance: 0.0014602215508559518

0 commit comments

Comments
 (0)