Skip to content

Add test on nrn

Add test on nrn #27

Workflow file for this run

name: Non OMV tests
on:
push:
branches: [ master, development, experimental ]
pull_request:
branches: [ master, development, experimental ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.9, "3.10" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Run pure Python example
run: |
echo "Running non OMV tests..."
cd Python
pip install numpy matplotlib argparse
python WilsonCowan.py -nogui
./run_WilsonCowan.sh -nogui
- name: Generate NeuroML version
run: |
cd NeuroML2
pip install pyneuroml
python GenerateNetworkOverview.py -nml
pip install git+https://github.com/OpenSourceBrain/osb-model-validation
pip install scipy sympy matplotlib cython pandas tables
omv install NEURON
export NEURON_HOME=$pythonLocation # so that pynml can find neuron/nrnivmodl etc.
pip install pyelectro pynn
./regenerateAndTest.sh