Skip to content

MAINT CI: delete passing tests' tmp_path (Windows out of disk); acceptance on 3.13 - #1251

Merged
bruAristimunha merged 7 commits into
braindecode:masterfrom
bruAristimunha:w41/fix-ci-disk
Oct 8, 2026
Merged

bruAristimunha merged 7 commits into
braindecode:masterfrom
bruAristimunha:w41/fix-ci-disk

Conversation

@bruAristimunha

Copy link
Copy Markdown
Collaborator

Windows test jobs on master stop at ~63% with There is not enough space on the disk (runs 37566696035 windows 3.13, 37646500319 windows 3.12; also reported on #1182, #1196, #1200).

Cause: test_return_features.py::test_reset_head_model_reloads_after_saving saves every model that overrides reset_head, at full default size, to tmp_path, and pytest keeps every tmp_path until the session ends. Locally (pytest test/unit_tests/models/test_return_features.py -n 6 --basetemp=...) that file leaves 6.1 GB behind on master (largest test directory 1.34 GB); with this PR it leaves 0 B.

Changes:

No file under braindecode/models changed.

Copilot AI balanced review requested due to automatic review settings October 7, 2026 21:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The updated docstrings still provide an incorrect two-dimensional shape guarantee for scalar and sequence targets.

3 open findings
What changed in this PR

Prevents CI disk exhaustion, expands acceptance testing to Python 3.13, and clarifies predict_trials return types.

Changes:

  • Delete temporary paths for passing tests.
  • Run acceptance tests on Python 3.12 and 3.13.
  • Update target-return documentation and simplify Codecov configuration.
File Description
pyproject.toml Configures pytest temporary-path cleanup.
.github/​workflows/​tests.yml Expands acceptance CI and adjusts Codecov.
docs/​whats_new.rst Records the CI disk fix.
braindecode/​training/​scoring.py Updates target return documentation.
braindecode/​classifier.py Updates classifier documentation.
braindecode/​regressor.py Updates regressor documentation.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread braindecode/classifier.py Outdated
Comment thread braindecode/regressor.py Outdated
Comment thread braindecode/training/scoring.py Outdated
@codecov

codecov Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.02%. Comparing base (d853e31) to head (598cd4c).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1251      +/-   ##
==========================================
- Coverage   89.05%   89.02%   -0.04%     
==========================================
  Files         157      157              
  Lines       19660    19396     -264     
==========================================
- Hits        17509    17267     -242     
+ Misses       2151     2129      -22     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Resolved docs/whats_new.rst by keeping both entries.
Copilot AI balanced review requested due to automatic review settings October 8, 2026 10:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI balanced review requested due to automatic review settings October 8, 2026 10:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@bruAristimunha
bruAristimunha merged commit 84c408a into braindecode:master Oct 8, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants