Skip to content

Add Destexhe 2001 Gfluct OU conductance based input source, tests, notebook showing conductances and distributions #24

Add Destexhe 2001 Gfluct OU conductance based input source, tests, notebook showing conductances and distributions

Add Destexhe 2001 Gfluct OU conductance based input source, tests, notebook showing conductances and distributions #24

Workflow file for this run

name: Continuous build using OMV
on:
push:
branches: [ master, development, experimental ]
pull_request:
branches: [ master, development, experimental ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ 3.9, "3.10" ]
engine:
- jNeuroML
- jNeuroML_NEURON
- jNeuroML_NetPyNE
- jNeuroML_validate
- PyNEURON
- PyNN_NEURON
- PyNN_Nest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install OMV
run: |
pip install git+https://github.com/OpenSourceBrain/osb-model-validation
pip install scipy sympy matplotlib cython pandas tables
pip install 'numpy<=1.23.0' # see https://github.com/OpenSourceBrain/osb-model-validation/issues/91
- name: Run OMV tests on engine ${{ matrix.engine }} & additional tests
run: |
omv all -V --engine=${{ matrix.engine }}; export OMV_SUCCESS=$?; echo $OMV_SUCCESS
echo "Finished all OMV tests"
if [[ ${{ matrix.engine }} == "jNeuroML" || ${{ matrix.engine }} == "jNeuroML_NEURON" ]]; then echo "Continuing with test after jNeuroML/jNeuroML_NEURON is run..."; else exit $OMV_SUCCESS; fi
echo "Running more tests..."
omv list -V
cd NeuroML2
ls -alt
python spikes.py ${{ matrix.engine }}
python spikesFast.py ${{ matrix.engine }}
exit $OMV_SUCCESS # in case it failed above...
echo Shouldn't get here...
- name: OMV final version info
run: |
omv list -V # list installed engines
env