From 362b9730d3d5087074fc4694928f6f85506e6c9b Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Thu, 20 Nov 2025 08:59:02 +0000
Subject: [PATCH 1/8] Test using alternate tmp dir
---
.github/workflows/ci_test_all.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/ci_test_all.yml b/.github/workflows/ci_test_all.yml
index 8fc523a3..7d397537 100644
--- a/.github/workflows/ci_test_all.yml
+++ b/.github/workflows/ci_test_all.yml
@@ -37,7 +37,9 @@ jobs:
- name: Run test script
run: |
+ df -h
export NEURON_HOME=$pythonLocation
+ export TMPDIR=/home/user/tmp/
./test_all.sh
- name: Version info for installed packages
From 24f8400decffe568f3eee3cd3631a1fd6c729988 Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Thu, 20 Nov 2025 15:27:09 +0000
Subject: [PATCH 2/8] Test using other cache dir
---
.github/workflows/ci_test_all.yml | 1 -
test_all.sh | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/.github/workflows/ci_test_all.yml b/.github/workflows/ci_test_all.yml
index 7d397537..f45737d3 100644
--- a/.github/workflows/ci_test_all.yml
+++ b/.github/workflows/ci_test_all.yml
@@ -39,7 +39,6 @@ jobs:
run: |
df -h
export NEURON_HOME=$pythonLocation
- export TMPDIR=/home/user/tmp/
./test_all.sh
- name: Version info for installed packages
diff --git a/test_all.sh b/test_all.sh
index 41816de5..bc380680 100755
--- a/test_all.sh
+++ b/test_all.sh
@@ -1,7 +1,7 @@
#!/bin/bash
set -ex
-pip install .[all] --group "dev"
+pip install .[all] --group "dev" --cache-dir=/home/runner/tmp --prefer-binary
# Note this:
# 1) runs examples to regenerate yaml/json...
From c493f01c19e0f3037ae4a4cd0c7b74537d80d698 Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Wed, 7 Jan 2026 18:23:18 +0000
Subject: [PATCH 3/8] More info on installed
---
test_all.sh | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/test_all.sh b/test_all.sh
index bc380680..eb5aa389 100755
--- a/test_all.sh
+++ b/test_all.sh
@@ -1,7 +1,15 @@
#!/bin/bash
set -ex
-pip install .[all] --group "dev" --cache-dir=/home/runner/tmp --prefer-binary
+df -h
+pip install . --cache-dir=/home/runner/tmp --prefer-binary
+
+df -h
+pip cache info
+pip cache purge
+df -h
+
+pip install .[all] --cache-dir=/home/runner/tmp --prefer-binary
# Note this:
# 1) runs examples to regenerate yaml/json...
From 146af2b4729b05f9753206bc9abce6b4510efbfd Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Wed, 7 Jan 2026 18:38:25 +0000
Subject: [PATCH 4/8] More space testing
---
test_all.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test_all.sh b/test_all.sh
index eb5aa389..d07489f7 100755
--- a/test_all.sh
+++ b/test_all.sh
@@ -9,6 +9,9 @@ pip cache info
pip cache purge
df -h
+pip install .[optional] --cache-dir=/home/runner/tmp --prefer-binary
+df -h
+
pip install .[all] --cache-dir=/home/runner/tmp --prefer-binary
# Note this:
From d83c01f67085a8552e58a925424d1a8be014a9b8 Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Wed, 7 Jan 2026 18:48:46 +0000
Subject: [PATCH 5/8] Ensure test gets installed with all dependencies
---
pyproject.toml | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyproject.toml b/pyproject.toml
index 25402296..fe68909f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -105,6 +105,7 @@ all = [
"modeci-mdf[all_except_psyneulink]",
"modeci-mdf[psyneulink]",
"modeci-mdf[neuroml_simulators]",
+ "modeci-mdf[test]",
]
# Development dependency groups (PEP 735)
From b580263382cd9876be10a7c26a67c0a1fc0020be Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Wed, 7 Jan 2026 19:00:26 +0000
Subject: [PATCH 6/8] Soem explanation for what's going on...
---
.github/workflows/ci_test_all.yml | 1 -
test_all.sh | 8 +++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci_test_all.yml b/.github/workflows/ci_test_all.yml
index f45737d3..8fc523a3 100644
--- a/.github/workflows/ci_test_all.yml
+++ b/.github/workflows/ci_test_all.yml
@@ -37,7 +37,6 @@ jobs:
- name: Run test script
run: |
- df -h
export NEURON_HOME=$pythonLocation
./test_all.sh
diff --git a/test_all.sh b/test_all.sh
index d07489f7..61f68bfd 100755
--- a/test_all.sh
+++ b/test_all.sh
@@ -1,9 +1,11 @@
#!/bin/bash
set -ex
+## This is overkill, but it seems to lead to less space being used on install, which was
+## causing issues on GHA CI.
df -h
-pip install . --cache-dir=/home/runner/tmp --prefer-binary
+pip install . --cache-dir=/home/runner/tmp --prefer-binary
df -h
pip cache info
pip cache purge
@@ -11,8 +13,12 @@ df -h
pip install .[optional] --cache-dir=/home/runner/tmp --prefer-binary
df -h
+pip cache purge
+df -h
pip install .[all] --cache-dir=/home/runner/tmp --prefer-binary
+df -h
+
# Note this:
# 1) runs examples to regenerate yaml/json...
From b43d16a814b894ea61ee3f48e16b0a6810a8775a Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Wed, 7 Jan 2026 22:03:55 +0000
Subject: [PATCH 7/8] Fix format
---
test_all.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test_all.sh b/test_all.sh
index 61f68bfd..2cdd717a 100755
--- a/test_all.sh
+++ b/test_all.sh
@@ -1,7 +1,7 @@
#!/bin/bash
set -ex
-## This is overkill, but it seems to lead to less space being used on install, which was
+## This is overkill, but it seems to lead to less space being used on install, which was
## causing issues on GHA CI.
df -h
From c8e52080e45e693317556ea338c13e7db95e7cb8 Mon Sep 17 00:00:00 2001
From: Padraig Gleeson
Date: Thu, 8 Jan 2026 09:08:16 +0000
Subject: [PATCH 8/8] pin pytorch in test script - 2.9 taking too much space
---
.github/workflows/ci_test_all.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/ci_test_all.yml b/.github/workflows/ci_test_all.yml
index 8fc523a3..42207142 100644
--- a/.github/workflows/ci_test_all.yml
+++ b/.github/workflows/ci_test_all.yml
@@ -37,6 +37,7 @@ jobs:
- name: Run test script
run: |
+ pip install torch==2.8.0 # pinned to avoid issues with latest version taking up too much space...
export NEURON_HOME=$pythonLocation
./test_all.sh