-
Notifications
You must be signed in to change notification settings - Fork 4
68 lines (55 loc) · 1.68 KB
/
Copy pathomv-ci.yml
File metadata and controls
68 lines (55 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Continuous build using OMV
on:
push:
branches: [ master, development, experimental, "*test*" ]
pull_request:
branches: [ master, development, experimental, "*test*" ]
jobs:
build:
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
python-version: [ 3.9, "3.10" ]
engine:
- jNeuroML_validate
# - "NEURON:7.8.2" # slightly different spike times...
- "NEURON:8.0.0"
- "NEURON:8.0.2"
- "NEURON:8.1"
- "NEURON:8.2.0"
- jNeuroML
- jNeuroML_NEURON
- jNeuroML_NetPyNE
runs-on: [ubuntu-latest, macos-latest]
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: Compile some mod files
if: ${{ contains( matrix.engine, 'NEURON' ) }}
run: |
omv install ${{ matrix.engine }}
cd NEURON/test
nrnivmodl ../channels
ls -alt
- name: Pip version info
run: |
pip list
- name: Run OMV tests on engine ${{ matrix.engine }}
run: |
omv all -V --engine=${{ matrix.engine }}
- name: OMV final version info
run: |
omv list -V # list installed engines
env