-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
|
||
name: Continuous build using OMV | ||
|
||
on: | ||
schedule: | ||
- cron: "1 1 1 */2 *" | ||
push: | ||
branches: [ main, development, experimental, test* ] | ||
pull_request: | ||
branches: [ main, development, experimental, test* ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [ 3.9, "3.11" ] | ||
engine: [ jNeuroML_validate, jNeuroML_NEURON, jNeuroML_EDEN ] | ||
|
||
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 OMV | ||
run: | | ||
pip install git+https://github.com/OpenSourceBrain/osb-model-validation | ||
- 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 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Script for running automated tests on OSB, see https://github.com/OpenSourceBrain/osb-model-validation | ||
|
||
target: LEMS_pyrfull_out.xml | ||
engine: jNeuroML_EDEN | ||
|
||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Script for running automated tests on OSB, see https://github.com/OpenSourceBrain/osb-model-validation | ||
|
||
target: LEMS_pyrfull_out.xml | ||
engine: jNeuroML_NEURON | ||
|
||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Script for running automated tests on OSB, see https://github.com/OpenSourceBrain/osb-model-validation | ||
|
||
# This test will validate all of the NeuroML 2 files in the current directory using: jnml -validate *.nml | ||
target: "*.nml" | ||
engine: jNeuroML_validate |