File tree Expand file tree Collapse file tree 3 files changed +26
-6
lines changed Expand file tree Collapse file tree 3 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 60
60
cd ../neuroml2
61
61
python neuroml2_spec.py
62
62
63
- pip install pyneuroml
64
-
65
- # Requires: pip install pyneuroml
66
- pynml -validate hello_world_neuroml.net.nml
67
- pynml -validate TestNeuroML.xml
63
+ # Note: NeuroML files will be validated with OMV below
68
64
69
65
- name : Run pytest
70
66
run : |
78
74
cd examples
79
75
python Example1.py
80
76
81
-
82
77
- name : Install MDF
83
78
run : |
84
79
@@ -100,6 +95,20 @@ jobs:
100
95
make clean
101
96
make html
102
97
98
+ - name : Install and test with OMV
99
+ if : ${{ matrix.runs-on != 'windows-latest' }}
100
+ run : |
101
+ # Note: OMV not well tested on Windows...
102
+
103
+ pip install git+https://github.com/OpenSourceBrain/osb-model-validation
104
+ pip install scipy sympy matplotlib cython pandas tables
105
+
106
+ # Run OMV tests on all engines
107
+ cd examples
108
+ omv all -V
109
+
110
+ omv list -V # list installed engines
111
+
103
112
- name : Final version info
104
113
run : |
105
114
pip list
Original file line number Diff line number Diff line change
1
+ # Script for running automated tests on OSB using Travis-CI, see https://github.com/OpenSourceBrain/osb-model-validation
2
+
3
+ # This test will validate NeuroML 2 files in the current directory using: jnml -validate *.nml
4
+ target: "*.nml TestNeuroML.xml"
5
+ engine: jNeuroML_validate
Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ cd ../..
31
31
32
32
pytest tests -v
33
33
34
+ # # Run OMV tests
35
+
36
+ omv all -V
37
+
34
38
35
39
# # Generate the docs
36
40
@@ -42,4 +46,6 @@ make clean
42
46
make html
43
47
cd ..
44
48
49
+ # # Format all file
50
+
45
51
pre-commit run --all-files
You can’t perform that action at this time.
0 commit comments