Skip to content

Test latest versions #68

Test latest versions

Test latest versions #68

Workflow file for this run

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.9", "3.10", "3.11", "3.12"] # not yet working: "3.12"??
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: Install numpy < 2 if necessary...
if: ${{ matrix.python-version == '3.11' }}
run: |
pip install "numpy<2"
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