Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/omv-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Run OMV tests

on:
schedule:
- cron: "1 1 27 * *"
push:
branches: [ master, development, experimental, documentation_update, osb*, update* ]
pull_request:
Expand All @@ -13,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.9" ]
python-version: [ "3.10", "3.12" ]
engine:
- jNeuroML
- jNeuroML_Brian2
Expand All @@ -23,6 +25,9 @@ jobs:
- jNeuroML_MOOSE
- jNeuroML_validate
- PyLEMS_NeuroML2
exclude:
- python-version: "3.12"
engine: jNeuroML_MOOSE # MOOSE not yet working on py 3.12...

steps:
- uses: actions/checkout@v4
Expand All @@ -32,12 +37,17 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install numpy < 2 if necessary...
run: |
if [[ ${{ matrix.engine }} == *"MOOSE"* ]] || [[ ${{ matrix.engine }} == *"Moose"* ]]; then pip install "numpy<2" ; fi ;
pip list

- name: Install OMV
run: |
pip install git+https://github.com/OpenSourceBrain/osb-model-validation
pip install scipy sympy matplotlib cython pandas tables
pip install setuptools --upgrade # needed for Eden on py 3.12

pip install 'numpy<=1.23.0' # see https://github.com/OpenSourceBrain/osb-model-validation/issues/91


- name: Run OMV tests on engine ${{ matrix.engine }}
Expand Down