Remove test that fails on ubuntu-latest due to jNeuroML_EDEN issues #77
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: Test with Moose stable via pip | |
| on: | |
| push: | |
| branches: [ master, dev* , test* ] | |
| pull_request: | |
| branches: [ master, dev* , test* ] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.runs-on }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| runs-on: [ubuntu-latest, ubuntu-22.04] | |
| 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 numpy < 2 if necessary... | |
| run: | | |
| pip install "numpy<2" | |
| pip list | |
| - name: Install Moose | |
| run: | | |
| pip install setuptools --upgrade # needed for Eden on py 3.12 | |
| pip install pyneuroml scipy pint # 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: Install OMV | |
| run: | | |
| pip install git+https://github.com/OpenSourceBrain/osb-model-validation | |
| pip install scipy sympy matplotlib cython pandas tables | |
| - name: Run OMV tests | |
| run: | | |
| # Remove test that fails on ubuntu-latest due to jNeuroML_EDEN issues | |
| if [[ ${{ matrix.runs-on }} == "ubuntu-latest" ]] ; then rm ./NeuroML2/GranuleCell/.test.jnmleden.omt ; fi ; | |
| omv all -V | |
| - name: Final version info | |
| run: | | |
| omv list -V # list installed engines | |
| pip list |