Skip to content

Commit 36ce1cf

Browse files
Padraig GleesonPadraig Gleeson
authored andcommitted
More tests
1 parent 2dcf9b7 commit 36ce1cf

File tree

3 files changed

+25
-12
lines changed

3 files changed

+25
-12
lines changed

.github/workflows/build-ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: [ "3.8" ]
16+
python-version: [ "3.8", "3.10" ]
1717

1818
steps:
1919
- uses: actions/checkout@v2
@@ -33,6 +33,10 @@ jobs:
3333
git clone https://github.com/BhallaLab/moose-core.git
3434
cd moose-core
3535
git checkout master
36+
37+
pip install jupyter
38+
pip install jupyter_packaging
39+
pip install scipy
3640
3741
python setup.py install
3842
@@ -50,7 +54,7 @@ jobs:
5054
echo "Running simple file"
5155
python simple.py
5256
53-
echo "Running NeuroML file"
57+
echo "Running NeuroML 2 file"
5458
python run_hhcell.py -nogui
5559
5660
@@ -60,8 +64,6 @@ jobs:
6064
omv all --engine=jNeuroML_Moose
6165
6266
63-
64-
6567
- name: Final version info
6668
run: |
67-
pip list
69+
omv list -V

.github/workflows/ci_pip.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: [ 3.7, 3.9 ]
17+
python-version: [ 3.7, 3.9, "3.10" ]
1818

1919
steps:
2020
- uses: actions/checkout@v2
@@ -29,21 +29,24 @@ jobs:
2929
run: |
3030
pip install pymoose
3131
pip list
32+
3233
- name: Test Moose files
3334
run: |
3435
python tests/python/test_function.py
3536
#./test.sh
37+
3638
- name: Test simple Moose file
3739
run: |
3840
cd NeuroML
3941
python -c "import moose; print(moose.__version__)"
4042
echo "Running simple file"
4143
python simple.py
4244
43-
- name: Test Moose files with NeuroML version 1
45+
46+
- name: Test Moose files with NeuroML version 2
4447
run: |
45-
cd NeuroML/GranuleCell
46-
# python Granule98.py -nogui ## No longer working..?
48+
cd NeuroML
49+
python run_hhcell.py -nogui
4750
4851
- name: Final version info
4952
run: |

.github/workflows/ci_pre_pip.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,28 @@ jobs:
2525
- name: Install pyneuroml
2626
run: |
2727
pip install pyneuroml
28+
2829
- name: Install Moose
2930
run: |
3031
pip install pymoose --pre
3132
pip list
33+
3234
- name: Test Moose files
3335
run: |
3436
python tests/python/test_function.py
3537
#./test.sh
36-
- name: Test Moose files with NeuroML version 1
38+
39+
- name: Test simple Moose file
3740
run: |
3841
cd NeuroML
42+
python -c "import moose; print(moose.__version__)"
43+
echo "Running simple file"
3944
python simple.py
40-
cd GranuleCell
41-
python Granule98.py -nogui
45+
46+
- name: Test Moose files with NeuroML version 2
47+
run: |
48+
cd NeuroML
49+
python run_hhcell.py -nogui
4250
4351
- name: Install OMV
4452
run: |

0 commit comments

Comments
 (0)