Skip to content

Commit f390467

Browse files
authored
Merge pull request #1 from openworm/development
Update NML generation scripts and add GHA tests
2 parents d22feb9 + 5563012 commit f390467

6 files changed

Lines changed: 475 additions & 0 deletions

File tree

.github/workflows/ci_python.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Test running Python scripts
2+
3+
on:
4+
push:
5+
branches: [ master, development, experimental, test* ]
6+
pull_request:
7+
branches: [ master, development, experimental, test* ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
python-version: ["3.10", "3.11", "3.12"]
17+
18+
steps:
19+
20+
- uses: actions/checkout@v7
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v7
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
26+
27+
- name: Generate NeuroML
28+
run: |
29+
python nml_musc_generator.py
30+
python nml_generator.py
31+
32+
- name: Final version info
33+
run: |
34+
pip list
35+
36+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/__pycache__

0 commit comments

Comments
 (0)