From 0181563e9c23ef71e147f0aa4db2aaadcdbd206c Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Tue, 28 May 2024 16:25:43 +0100
Subject: [PATCH 1/2] Updated actions files
---
.github/workflows/non-omv.yml | 9 +++++----
.github/workflows/omv-ci.yml | 7 +++++--
.gitignore | 1 +
3 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/non-omv.yml b/.github/workflows/non-omv.yml
index e80d2a3..17ce656 100644
--- a/.github/workflows/non-omv.yml
+++ b/.github/workflows/non-omv.yml
@@ -16,17 +16,18 @@ jobs:
python-version: [ 3.9 ]
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
+
- name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
-
- name: Install dependencies
run: |
- python setup.py install
+ pip install .
pip install pytest
+
- name: Run some examples
run: |
echo "Running non OMV tests..."
diff --git a/.github/workflows/omv-ci.yml b/.github/workflows/omv-ci.yml
index bc7badc..8fc0a3f 100644
--- a/.github/workflows/omv-ci.yml
+++ b/.github/workflows/omv-ci.yml
@@ -17,11 +17,13 @@ jobs:
engine: [ jNeuroML, jNeuroML_NEURON, jNeuroML_NetPyNE, jNeuroML_validate, jNeuroML_PyNN_NEURON, Octave ]
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
+
- name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
+
- name: Install OMV
run: |
pip install git+https://github.com/OpenSourceBrain/osb-model-validation
@@ -32,6 +34,7 @@ jobs:
- name: Run OMV tests on engine ${{ matrix.engine }}
run: |
omv all -V --engine=${{ matrix.engine }}
+
- name: OMV final version info
run: |
omv list -V # list installed engines
diff --git a/.gitignore b/.gitignore
index c674b59..4b9ffc3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,3 +40,4 @@ OpenWormMuscleModel.egg-info
/NeuroML2/*_netpyne.py
/NeuroML2/*_main.json
arm64
+/NeuroML2/LEMS_NeuronMuscle_eden.py
From 9ebf05be8c80e966dad0eb97d15bc75d69833e41 Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Tue, 28 May 2024 16:32:05 +0100
Subject: [PATCH 2/2] Just install pyneuroml
---
.github/workflows/non-omv.yml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.github/workflows/non-omv.yml b/.github/workflows/non-omv.yml
index 17ce656..60e0cb9 100644
--- a/.github/workflows/non-omv.yml
+++ b/.github/workflows/non-omv.yml
@@ -25,8 +25,7 @@ jobs:
- name: Install dependencies
run: |
- pip install .
- pip install pytest
+ pip install pyNeuroML pytest
- name: Run some examples
run: |