Files
zed/tooling/xtask
Parker Loflin 4aa53044fd ci: Build gpui unit tests without test-support (#67380)
## Summary

Stacked on #67376. The first commit here is that PR.

`cargo test -p gpui --lib` stopped compiling on `main` and CI stayed
green. CI builds gpui's tests only as part of the workspace, where other
crates enable gpui's `test-support` feature, so a missing `cfg(test)`
gate goes unnoticed.

This adds `cargo test -p gpui --lib --no-run` to
`check_workspace_binaries`, after the workspace build.

Cost:

- The job's earlier steps already compile 403 of the build's 634 units.
- Locally, on 16 cores without sccache, the step takes 14 s when only
gpui changed and 34 s from an empty target directory.
- In a recent run, the job took 3m22s and `run_tests_linux` took 9m20s.

## Testing

- `cargo test -p gpui --lib --no-run` with `-D warnings` compiles on
this branch and fails with E0599 without #67376.
- `cargo xtask workflows` produces no diff.
- `./script/clippy -p xtask` passes.

## Self-review

- [x] I've reviewed my diff for quality, security, reliability, and
performance.
- [x] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [x] Tests cover the new or changed behavior.

Release Notes:

- [GPUI] N/A
2026-11-23 23:16:34 +00:00
..