Development #37
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
name: Continuous build using OMV | |
on: | |
push: | |
branches: [ master, development, experimental ] | |
pull_request: | |
branches: [ master, development, experimental ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.runs-on }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ "3.7", "3.10" ] | |
engine: | |
- "PyNEURON:7.8.2" | |
- "PyNEURON:8.0.0" | |
- "PyNEURON:8.1.0" | |
- "PyNEURON:8.2.2" | |
runs-on: [ubuntu-latest, macos-latest ] | |
exclude: | |
- python-version: "3.10" | |
engine: "PyNEURON:7.8.2" | |
- python-version: "3.10" | |
engine: "PyNEURON:8.0.0" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
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: Install ${{ matrix.engine }} | |
run: | | |
omv install ${{ matrix.engine }} | |
- name: Test HHChannelAnalyser | |
run: | | |
cd HHChannelAnalyser | |
nrnivmodl | |
python HHanalyse.py NaConductance -nogui | |
- name: OMV run tests on all reusing NEURON from ${{ matrix.engine }} | |
run: | | |
omv all -V | |
- name: OMV final version info | |
run: | | |
omv list -V # list installed engines | |
env |