Skip to content

Commit 77094fc

Browse files
committed
Add pynestml to CI and local test environments
1 parent 8177eeb commit 77094fc

5 files changed

Lines changed: 19 additions & 2 deletions

File tree

.github/workflows/full-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
python -m pip install arbor==0.9.0 libNeuroML
5757
- name: Install PyNN itself
5858
run: |
59-
python -m pip install -e ".[test]"
59+
python -m pip install -e ".[test,nestml]"
6060
- name: Test installation has worked (Ubuntu)
6161
# this is needed because the PyNN tests are just skipped if the simulator
6262
# fails to install, so we need to catch import failures separately

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,18 @@ tmp
9393
doc/logos
9494
docker_*.eggs/
9595
/test/system/tmp_serialization_test
96+
97+
# Test coverage output
98+
coverage.lcov
99+
coverage.xml
100+
101+
# Compiled shared libraries (NEURON, Arbor, NESTML)
102+
*.so
103+
pyNN/neuron/nmodl/*/
104+
105+
# Simulation output and NESTML compilation targets
106+
**/Results/
107+
**/target/
108+
109+
# Scratch directories
110+
tmp_*/

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ brian2 = ["brian2"]
4545
arbor = ["arbor==0.9.0", "libNeuroML"]
4646
spiNNaker = ["spyNNaker"]
4747
neuroml = ["libNeuroML"]
48+
nestml = ["pynestml"]
4849

4950
[project.urls]
5051
homepage = "http://neuralensemble.org/PyNN/"

test/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ COPY pyproject.toml /tmp/pynn-meta/
5151
RUN mkdir -p /tmp/pynn-meta/pyNN && touch /tmp/pynn-meta/pyNN/__init__.py && \
5252
pip install --no-cache-dir \
5353
"numpy<2" \
54-
"/tmp/pynn-meta[test,neuron,brian2,arbor,MPI,sonata,neuroml]" && \
54+
"/tmp/pynn-meta[test,neuron,brian2,arbor,MPI,sonata,neuroml,nestml]" && \
5555
rm -rf /tmp/pynn-meta
5656

5757
COPY test/docker-entrypoint.sh /entrypoint.sh

test/environment-nest3.9.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ dependencies:
3636
- morphio
3737
- neuron
3838
- nrnutils
39+
- pynestml
3940
- Cheetah3
4041
- Jinja2
4142
- pytest

0 commit comments

Comments
 (0)