Merge pull request #2 from OpenSourceBrain/development #17
This file contains hidden or 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: ubuntu-22.04 # for eden... | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: [ "3.10", "3.11" ] | |
| engine: [ jNeuroML, jNeuroML_NEURON, jNeuroML_validate, jNeuroML_Moose, "jNeuroML_Moose:4.0.0.dev20240411", 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 numpy < 2 if necessary... | |
| run: | | |
| if [[ ${{ matrix.engine }} == *"MOOSE"* ]] || [[ ${{ matrix.engine }} == *"Moose"* ]]; then pip install "numpy<2" ; fi ; | |
| pip list | |
| - name: Install OMV | |
| run: | | |
| pip install git+https://github.com/OpenSourceBrain/osb-model-validation | |
| pip install scipy sympy matplotlib cython pandas tables | |
| pip install setuptools --upgrade # needed for Eden on py 3.12 | |
| - 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 |