Skip to content

Fix calculation results package checkout - #2

Merged
Korlne merged 1 commit into
mainfrom
fix/macos-calculation-results-import
Jul 5, 2026
Merged

Korlne merged 1 commit into
mainfrom
fix/macos-calculation-results-import

Conversation

@Korlne

@Korlne Korlne commented Jul 5, 2026 •

Copy link
Copy Markdown
Owner

概要

这个 PR 修复 main 合并后 GitHub Actions 在 macOS 上的 pytest collection 失败。

失败原因是 zsim.sim_progress.calculation.results 是运行时需要导入的源码包,但此前被 .gitignore 的 result* 规则挡在 Git 跟踪之外。本地 Windows 工作区存在这些文件,所以测试能通过;GitHub Actions 的干净 checkout 中没有这些文件,macOS 大小写敏感环境下直接 import 失败。

变更

  • 将 zsim/sim_progress/calculation/results/ 源码包加入版本库
  • 在 .gitignore 中为该源码包添加白名单,避免后续再次漏提交

验证

  • 本地完整后端测试:822 passed, 5 skipped
  • 直接 import 烟测:zsim.sim_progress.calculation.results 通过

Track the calculation results source package and whitelist it from the result file ignore rule so clean GitHub Actions checkouts can import the simulator on case-sensitive runners.
@Korlne
Korlne merged commit aac2d0f into main Jul 5, 2026
3 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.

1 participant