Skip to content

Commit fa9535c

Browse files
authored
Create non_omv.yml
1 parent dc16cf8 commit fa9535c

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

.github/workflows/non_omv.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Non OMV tests
2+
3+
on:
4+
push:
5+
branches: [ master, development, test* ]
6+
pull_request:
7+
branches: [ master, development, test* ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: [ 3.7, 3.9 ]
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v2
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
25+
- name: Install OMV
26+
run: |
27+
pip install git+https://github.com/OpenSourceBrain/osb-model-validation
28+
29+
- name: Install OSB API
30+
run: |
31+
git clone https://github.com/OpenSourceBrain/OSB_API.git
32+
cd OSB_API/python
33+
python setup.py install
34+
35+
- name: Test Channelpedia related scripts
36+
run: |
37+
cd Channelpedia
38+
python ChannelpediaToNeuroML2.py HCN1
39+
python analyse.py
40+
pip install pyneuroml
41+
pynml LEMS_Test_HCN1.xml -nogui
42+
43+
- name: Test NMC related scripts
44+
run: |
45+
omv install NEURON
46+
pip install jinja2
47+
cd NMC/parser
48+
nrnivmodl ../NEURON/ # compile mod files for use here; nrnivmodl installed with Neuron via pip
49+
python ParseAll.py
50+
omv list -V

0 commit comments

Comments
 (0)