Add more tests #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Non OMV tests | |
on: | |
push: | |
branches: [ master, development, test* ] | |
pull_request: | |
branches: [ master, development, test* ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ 3.7, 3.9 ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install OMV | |
run: | | |
pip install git+https://github.com/OpenSourceBrain/osb-model-validation | |
pip install 'numpy<=1.23.0' # see https://github.com/OpenSourceBrain/osb-model-validation/issues/91 | |
- name: Install OSB API | |
run: | | |
git clone https://github.com/OpenSourceBrain/OSB_API.git | |
cd OSB_API/python | |
python setup.py install | |
- name: Test Channelpedia related scripts | |
run: | | |
cd Channelpedia | |
pip install pyneuroml | |
pip install pyelectro | |
python ChannelpediaToNeuroML2.py HCN1 | |
python analyse.py | |
pynml LEMS_Test_HCN1.xml -nogui | |
- name: Test NMC related scripts | |
run: | | |
omv install NEURON | |
pip install jinja2 | |
cd NMC/parser | |
nrnivmodl ../NEURON/ # compile mod files for use here; nrnivmodl installed with Neuron via pip | |
python ParseAll.py | |
ls -alt ../NeuroML2/ | |
omv list -V |