Skip to content

ci: run the pipeline for the entire workspace#88

Merged
seqre merged 1 commit intomasterfrom
fix-ci
Apr 27, 2026
Merged

ci: run the pipeline for the entire workspace#88
seqre merged 1 commit intomasterfrom
fix-ci

Conversation

@m4tx
Copy link
Copy Markdown
Member

@m4tx m4tx commented Apr 27, 2026

Looks like we accidentally did not set up the CI to work on the entire workspace. It was therefore running only for the main crate, and in the meantime we merged a few changes that were breaking the tests.

This fixes both the CI and the broken tests.

Looks like we accidentally did not set up the CI to work on the entire
workspace. It was therefore running only for the main crate, and in the
meantime we merged a few changes that were breaking the tests.

This fixes both the CI and the broken tests.
@m4tx m4tx requested review from a team and Copilot April 27, 2026 17:46
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Rust CI pipeline to run checks across the entire Cargo workspace and fixes workspace-wide test/doc-test failures that were previously missed when CI only exercised the root crate.

Changes:

  • Run doc tests for all workspace members and run clippy across the workspace.
  • Fix rustdoc examples/doctests so workspace doc testing succeeds.
  • Enable serde’s derive feature for cot-site-common to support #[derive(Deserialize)].

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
cot-site-macros/src/md_pages/rendering.rs Marks non-Rust rustdoc examples as text to prevent failing doctests.
cot-site-common/src/utils.rs Adds hidden use cot_site_common::Version; imports so doctests compile.
cot-site-common/Cargo.toml Enables serde derive feature needed for Deserialize derives in this crate.
.github/workflows/rust.yml Runs doc tests and clippy across the workspace (instead of only the root crate).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 56 to +57
- name: Test docs
run: cargo +${{ matrix.rust }} test
run: cargo +${{ matrix.rust }} test --workspace --doc
@seqre seqre merged commit 5e064da into master Apr 27, 2026
14 checks passed
@seqre seqre deleted the fix-ci branch April 27, 2026 19:33
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.

3 participants