Skip to content

Commit 14727cd

Browse files
committed
Merge branch 'development' into nml_examples
2 parents 0ce76f1 + 9dfe3c8 commit 14727cd

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.github/workflows/ci_test_all.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737

3838
- name: Run test script
3939
run: |
40+
pip install torch==2.8.0 # pinned to avoid issues with latest version taking up too much space...
4041
export NEURON_HOME=$pythonLocation
4142
./test_all.sh
4243

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ all = [
105105
"modeci-mdf[all_except_psyneulink]",
106106
"modeci-mdf[psyneulink]",
107107
"modeci-mdf[neuroml_simulators]",
108+
"modeci-mdf[test]",
108109
]
109110

110111
# Development dependency groups (PEP 735)

test_all.sh

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
11
#!/bin/bash
22
set -ex
33

4-
pip install .[all] --group "dev"
4+
## This is overkill, but it seems to lead to less space being used on install, which was
5+
## causing issues on GHA CI.
6+
df -h
7+
8+
pip install . --cache-dir=/home/runner/tmp --prefer-binary
9+
df -h
10+
pip cache info
11+
pip cache purge
12+
df -h
13+
14+
pip install .[optional] --cache-dir=/home/runner/tmp --prefer-binary
15+
df -h
16+
pip cache purge
17+
df -h
18+
19+
pip install .[all] --cache-dir=/home/runner/tmp --prefer-binary
20+
df -h
21+
522

623
# Note this:
724
# 1) runs examples to regenerate yaml/json...

0 commit comments

Comments
 (0)