-
Notifications
You must be signed in to change notification settings - Fork 24
46 lines (37 loc) · 1.59 KB
/
non-omv.yml
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
name: Non OMV tests
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 ]
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 dependencies
run: |
pip install pyNeuroML pytest
- name: Run some examples
run: |
echo "Running non OMV tests..."
# Test analysis of channels using pynml-channelanalysis from PyNeuroML.
cd ./NeuroML2/
pynml-channelanalysis -temperature 34 -minV -55 -maxV 80 -duration 600 -clampBaseVoltage -55 -clampDuration 580 -stepTargetVoltage 10 -erev 50 -nogui ./ca_boyle.channel.nml
pynml-channelanalysis -temperature 34 -minV -55 -maxV 80 -duration 600 -clampBaseVoltage -55 -clampDuration 580 -stepTargetVoltage 10 -erev -55 -nogui ./k_fast.channel.nml
pynml-channelanalysis -temperature 34 -minV -55 -maxV 80 -duration 600 -clampBaseVoltage -55 -clampDuration 580 -stepTargetVoltage 10 -erev -55 -nogui ./k_slow.channel.nml
#Testing individual shell scripts
py.test shell_script_tester.py
# Test Python version of Boyle & Cohen model
cd ../BoyleCohen2008/PythonSupport/Main_Version
python vclamp.py -nogui
python vclamp_decimal.py -nogui
python compareToNeuroML2.py