Skip to content

Commit e6547bb

Browse files
authored
Merge pull request #234 from NeuroML/experimental
Improve install & test on py3.12
2 parents 4fbed12 + 1289fd7 commit e6547bb

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/omv-ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Run OMV tests
22

33
on:
4+
schedule:
5+
- cron: "1 1 27 * *"
46
push:
57
branches: [ master, development, experimental, documentation_update, osb*, update* ]
68
pull_request:
@@ -13,7 +15,7 @@ jobs:
1315
strategy:
1416
fail-fast: false
1517
matrix:
16-
python-version: [ "3.9" ]
18+
python-version: [ "3.10", "3.12" ]
1719
engine:
1820
- jNeuroML
1921
- jNeuroML_Brian2
@@ -23,6 +25,9 @@ jobs:
2325
- jNeuroML_MOOSE
2426
- jNeuroML_validate
2527
- PyLEMS_NeuroML2
28+
exclude:
29+
- python-version: "3.12"
30+
engine: jNeuroML_MOOSE # MOOSE not yet working on py 3.12...
2631

2732
steps:
2833
- uses: actions/checkout@v4
@@ -32,12 +37,17 @@ jobs:
3237
with:
3338
python-version: ${{ matrix.python-version }}
3439

40+
- name: Install numpy < 2 if necessary...
41+
run: |
42+
if [[ ${{ matrix.engine }} == *"MOOSE"* ]] || [[ ${{ matrix.engine }} == *"Moose"* ]]; then pip install "numpy<2" ; fi ;
43+
pip list
44+
3545
- name: Install OMV
3646
run: |
3747
pip install git+https://github.com/OpenSourceBrain/osb-model-validation
3848
pip install scipy sympy matplotlib cython pandas tables
49+
pip install setuptools --upgrade # needed for Eden on py 3.12
3950
40-
pip install 'numpy<=1.23.0' # see https://github.com/OpenSourceBrain/osb-model-validation/issues/91
4151
4252
4353
- name: Run OMV tests on engine ${{ matrix.engine }}

0 commit comments

Comments
 (0)