Repository navigation
Fix calculation results package checkout - #2
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
这个 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 skippedzsim.sim_progress.calculation.results通过