Skip to content

Commit

Permalink
Create omv-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson authored Dec 9, 2021
1 parent ad8b17a commit e22a5b6
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/omv-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@

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.7, 3.9 ]
engine: [ jNeuroML, jNeuroML_NEURON, jNeuroML_NetPyNE, jNeuroML_validate, jNeuroML_validatev1, Py_neuroConstruct ]

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 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

0 comments on commit e22a5b6

Please sign in to comment.