Merge pull request #10 from OpenSourceBrain/development #56
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: Test with Moose stable via pip | |
on: | |
push: | |
branches: [ master, dev* , test* ] | |
pull_request: | |
branches: [ master, dev* , test* ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ 3.7, 3.9, "3.10" ] | |
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 Moose | |
run: | | |
pip install pyneuroml scipy # missing(?) dependencies | |
pip install pymoose | |
pip list | |
- name: Test Moose files | |
run: | | |
python tests/python/test_function.py | |
#./test.sh | |
- name: Test simple Moose file | |
run: | | |
cd NeuroML2 | |
python -c "import moose; print(moose.__version__)" | |
echo "Running simple file" | |
python simple.py | |
- name: Test Moose files with NeuroML version 2 | |
run: | | |
cd NeuroML2 | |
python run_hhcell.py -nogui | |
- name: Final version info | |
run: | | |
pip list |