Development #24
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: Continuous build using OMV | |
on: | |
push: | |
branches: [ master, development, experimental ] | |
pull_request: | |
branches: [ master, development, experimental ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.runs-on }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ 3.9 ] | |
runs-on: [ ubuntu-latest, macos-latest ] | |
engine: [ jNeuroML, jNeuroML_NEURON, jNeuroML_NetPyNE, jNeuroML_EDEN, jNeuroML_validate, jNeuroML_validatev1, Py_neuroConstruct ] | |
exclude: | |
- runs-on: macos-latest | |
engine: "Py_neuroConstruct" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install HDF5 for pytables on macos-latest | |
if: ${{ matrix.runs-on == 'macos-latest' }} | |
run: | | |
brew install hdf5 | |
- name: Install OMV | |
run: | | |
pip install git+https://github.com/OpenSourceBrain/osb-model-validation | |
pip install scipy sympy matplotlib cython pandas tables | |
- name: Make neuroConstruct synapses | |
if: ${{ matrix.engine == 'Py_neuroConstruct' }} | |
run: | | |
omv install Py_neuroConstruct | |
cd neuroConstruct/pythonScripts/netbuild/ | |
./makeSyns.sh | |
- name: Run OMV tests on engine ${{ matrix.engine }} | |
run: | | |
omv all -V --engine=${{ matrix.engine }} | |
- name: Test more NetPyNE | |
if: ${{ matrix.engine == 'jNeuroML_NetPyNE' }} | |
run: | | |
cd NeuroML2/test | |
python LEMS_supbaskFigA2a_netpyne.py | |
- name: OMV final version info | |
run: | | |
omv list -V # list installed engines | |
env |