Skip to content

👷 Align CI with QDMI (coverage, Renovate, zizmor, hardening) - #47

Open
mdepasca-mqv wants to merge 3 commits into
Munich-Quantum-Software-Stack:developfrom
mdepasca-mqv:ci/align-with-qdmi
Open

mdepasca-mqv wants to merge 3 commits into
Munich-Quantum-Software-Stack:developfrom
mdepasca-mqv:ci/align-with-qdmi

Conversation

@mdepasca-mqv

Copy link
Copy Markdown

What

Aligns CI with QDMI, the reference for the MQSS repositories, while keeping this repository's existing build and test setup.

  • mqss_client-test.yml: adds merge-queue and manual triggers, cancel-in-progress, and a new Coverage job: Debug build with --coverage, ctest, gcovr report uploaded to Codecov (cpp flag).
  • The coverage job sets --coverage globally because MQSSCLIENT_ENABLE_COVERAGE only instruments the test executables, not the library, so it reports tests covering themselves.
  • Workflow hardening (zizmor): every action pinned to a commit SHA, persist-credentials: false on checkouts that don't push, read-only default permissions with write access only on the jobs that need it.
  • 🚦 Check: one all-green job over the CI jobs, to use as the single required status check.
  • Pre-commit: adds the zizmor workflow security check and the GitHub workflow and Renovate schema checks.
  • New: .github/renovate.json5 (same presets as QDMI) and Release Drafter config and workflow.

Checked locally

  • Pre-commit passes, including zizmor.
  • Coverage build: 39 tests pass; src/include line coverage 32.2%.

Before merging

  • Codecov rejects uploads until the repository is registered (install the Codecov app for the org). Until then the upload step does not fail the build; switch fail_ci_if_error to true, as in QDMI, afterwards.
  • Renovate was installed for the org and opened an onboarding PR (renovate/configure). This PR brings its own config; close the onboarding PR rather than merging both.
  • Make 🚦 Check a required status check on develop.

Part of the MQSS CI alignment (QDMI as the reference).

🤖 Generated with Claude Code

https://claude.ai/code/session_01AeRqHJzCskBTisF7PVKYMa

@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@mdepasca-mqv
mdepasca-mqv marked this pull request as ready for review November 27, 2026 12:38

This branch has not been deployed

No deployments
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.

1 participant