[CI] README claims Windows support but CI never tests Windows

未关闭 适合新手
#43 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
80/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
冷清
技术栈
github-actions, python
领域
ci-cd

调研方向

改动应放在 .github/workflows/ci.yml 中,目前其中的操作系统矩阵只列出了 ubuntu-latest 和 macos-latest。先阅读该矩阵和汇总作业 ci-ok,然后添加一个 windows-latest 分支(py3.12),并在其 env 块中加入 PYTHONUTF8: "1"。确认 bash 冒烟测试循环及其 $(basename ...) 逻辑在 Windows 上仍能运行。当该 Windows 作业在 CI 中通过时即完成。

由索引模型根据 Issue 内容生成。

描述

help wanted infra P2 testing

README says "Works on Mac, Windows, and Linux" — but CI only tests ubuntu-latest and macos-latest (verified in .github/workflows/ci.yml). Windows is claimed, never tested.

Fix: add windows-latest to the CI matrix. Known pitfalls to expect:

  • Console encoding: the CLI prints Devanagari and emoji; on Windows runners set PYTHONUTF8: "1" (env block) or PYTHONIOENCODING: utf-8
  • The smoke-test loop step already uses shell: bash, which works on Windows runners — verify the $(basename ...) logic still behaves
  • Path handling in tests (prefer pathlib)

Start with one Windows leg (e.g. py3.12): 2 OS × 4 versions + 1 = 9 jobs. If green, decide whether full Windows coverage is worth the minutes.

The ci-ok aggregate job automatically includes new matrix legs — no branch-protection changes needed.

主要语言
Python
星标
1
派生
4
平均合并
12 天 21 小时
30 天内合并 PR
1

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

alphacrack/python-maithili-dsl 的其他 Issue

查看 alphacrack/python-maithili-dsl 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。