Skip to content

ci: PR 检查不跑 Windows 后端测试,Windows 专属失败要到发布时才发现 #25

Open

Description

@1lck

现象

.github/workflows/ci.yml 只在 Ubuntu 上运行 cargo test --workspace,macOS 任务只打包;Windows 后端的 cargo test 只在 release.yml 的 Build Windows x64 backend 任务中运行。

v3.0.1 首次打 tag 时(run 44024508226),两条 project_model 测试因为路径分隔符在 Windows 上失败,发布被中止,只能修复(#24)后重新打 tag。PR #22 的全部 CI 检查都是绿的,没能发现这个问题。

期望

在 PR 的 CI 中加入 Windows 后端测试(windows-latest,cargo test --workspace --locked --target x86_64-pc-windows-msvc,并启用 rust-cache)。和 macOS 任务一样,只在非 Draft 时运行,以控制 Actions 用量。这样 Windows 专属的失败能在合并前发现。

相关

🤖 Generated with Claude Code

Activity

  1. added
    bug
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions