Skip to content

enable_docs on all OS for CI - #8241

Merged
poshul merged 3 commits into
developfrom
doc_docs
Oct 5, 2025
Merged

poshul merged 3 commits into
developfrom
doc_docs

Conversation

@poshul

@poshul poshul commented Oct 2, 2025 •

Copy link
Copy Markdown
Collaborator

#8191 demonstrates that we can have a PR pass tests and still break the build. Running documentation generation regardless of whether we are building a package addresses this issue

Summary by CodeRabbit

  • Documentation

    • Documentation is now generated consistently during CI on Windows and macOS, ensuring up-to-date docs are produced during testing across platforms.
  • Chores

    • Standardized CI behavior so docs build no longer depends on specific branch packaging steps, improving reliability of documentation outputs.

#8191 demonstrates that we can have a PR pass tests and still break the build. Running documentation generation regardless of whether we are building a package addresses this issue
@poshul
poshul requested a review from jpfeuffer October 2, 2025 09:54
@coderabbitai

coderabbitai Bot commented Oct 2, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

The workflow moves enable_docs=ON to a top-level block for Windows and Mac jobs in .github/workflows/openms_ci_matrix_full.yml, removing branch-specific enable_docs toggles; DO_PACKAGE branches now only control packaging (pkg_type) and no longer change documentation enablement.

Changes

Cohort / File(s) Summary
CI workflow: doc enablement scope change
.github/workflows/openms_ci_matrix_full.yml
Moved enable_docs=ON into top-level Windows/Mac job blocks and removed per-branch enable_docs assignments inside DO_PACKAGE branches; packaging logic (pkg_type) remains branch-controlled. No other functional changes.

Sequence Diagram(s)

sequenceDiagram
    autonumber
    participant Dev as Developer
    participant GH as GitHub Actions
    participant WF as Workflow (.github/.../openms_ci_matrix_full.yml)
    participant Win as Job: Windows
    participant Mac as Job: Mac

    Dev->>GH: Push / PR
    GH->>WF: Trigger workflow
    Note over WF: Top-level: set enable_docs=ON for Windows & Mac

    par Matrix jobs
        WF->>Win: Start Windows job (enable_docs=ON)
        Win->>Win: Configure, Build, Test
        Note over Win: Docs built unconditionally
        alt DO_PACKAGE == true
            Win->>Win: Package (pkg_type chosen per branch)
        end

        WF->>Mac: Start Mac job (enable_docs=ON)
        Mac->>Mac: Configure, Build, Test
        Note over Mac: Docs built unconditionally
        alt DO_PACKAGE == true
            Mac->>Mac: Package (pkg_type chosen per branch)
        end
    end
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

I gnaw on YAML, crisp and keen,
One flag moved, now docs are seen.
Across Mac and Windows they arise,
Packaging still checks the prize.
Thump-thump! a rabbit sings: hooray for clean CI dreams. 🥕

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title clearly and concisely summarizes the core change of the pull request, which is enabling documentation generation on all operating systems in the CI workflow, without unnecessary detail or ambiguity.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch doc_docs

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3045d98 and 5c12710.

📒 Files selected for processing (1)
  • .github/workflows/openms_ci_matrix_full.yml (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/openms_ci_matrix_full.yml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: build-and-test (macos-15-intel, xcode, 16.0.0)
  • GitHub Check: build-and-test (macos-26, xcode, 26.0)
  • GitHub Check: build-and-test (ubuntu-22.04, clang++, 15)
  • GitHub Check: build-and-test (windows-2022, cl.exe, 14.36)
  • GitHub Check: build-and-test (ubuntu-22.04, g++, 11)
  • GitHub Check: cppcheck-test

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@poshul
poshul requested a review from timosachsenberg October 2, 2025 09:54
@poshul
poshul enabled auto-merge (squash) October 3, 2025 13:14

@timosachsenberg timosachsenberg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Makes sense!

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.

2 participants