Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Source - https://stackoverflow.com/a/78380165
# Posted by Stefan, modified by community. See post 'Timeline' for change history
# Retrieved 2026-04-14, License - CC BY-SA 4.0

# Set update schedule for GitHub Actions

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
22 changes: 10 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Continuous builds

on:
push:
branches: [ master, development, experimental, modelspec ]
branches: [ master, development, experimental, modelspec, test* ]
pull_request:
branches: [ master, development, experimental, modelspec ]
branches: [ master, development, experimental, modelspec, test* ]

jobs:
build:
Expand All @@ -13,30 +13,28 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
env:
JNML_HOME: "/home/runner/work/NeuroMLlite/NeuroMLlite/jNeuroML"
HDF5_DISABLE_VERSION_CHECK: 1

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}

- name: Install some dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
pip install setuptools==80 # needed for eden on Python 3.12...

- name: Install NeuroMLlite and extra requirements
run: |
pip install .
pip install -r requirements-extra.txt

#pip install 'numpy<=1.23.0' # temp fix, see https://github.com/OpenSourceBrain/osb-model-validation/issues/91

pip install .[dev]

- name: Lint with flake8
run: |
Expand All @@ -57,8 +55,7 @@ jobs:
git clone https://github.com/NeuroML/pyNeuroML.git
cd pyNeuroML
git checkout $pynml_branch
pip install pandas==1.3.5
pip install NEURON==8.2.2 # Specify version of neuron - 8.2.1 fails
pip install "NEURON>=8.2.2,<9.0.0" # Specify version of neuron - 8.2.1 fails
#pip install -r requirements-dev.txt
pip install .
cd -
Expand Down Expand Up @@ -93,7 +90,7 @@ jobs:

- name: Install some simulators for testing
run: |
#pip install cython
pip install "cython<3.1.0" # for nest...
omv install NEURON
pip install NetPyNE # strange issues on py3.7 with omv install...
omv install PyNN
Expand All @@ -108,6 +105,7 @@ jobs:
#export HDF5_DISABLE_VERSION_CHECK=1
if [[ ${{ matrix.python-version }} != 2.7 ]]; then omv install PyNEST; fi
#pip install h5py

omv list -V # list installed engines

- name: Run pytest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: '3.x'
- name: Install dependencies
Expand Down