Skip to content

Conversation

mtreinish
Copy link
Member

Summary

This commit adds a new step to the rust unit test CI job that runs cargo check on each of our crates in isolation to ensure that they all build on their own. This will prevent issues like what was fixed in #14526 from popping up again (which has happened before).

Details and comments

@mtreinish mtreinish requested a review from a team as a code owner June 3, 2025 21:12
@mtreinish mtreinish added type: qa Issues and PRs that relate to testing and code quality Changelog: None Do not include in changelog Rust This PR or issue is related to Rust code in the repository labels Jun 3, 2025
@qiskit-bot
Copy link
Collaborator

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@mtreinish mtreinish force-pushed the add-carg-check-check-standalone-∀-crates branch from 0f5d233 to 53e3e61 Compare June 3, 2025 21:13
This commit adds a new step to the rust unit test CI job that runs cargo
check on each of our crates in isolation to ensure that they all build
on their own. This will prevent issues like what was fixed in Qiskit#14526
from popping up again (which has happened before).
@mtreinish
Copy link
Member Author

The CI failure is expected as it's catching what #14526 is fixing: https://github.com/Qiskit/qiskit/actions/runs/15427994770/job/43419580721?pr=14527#step:4:557 which confirms this is working as expected. I'll rebase after #14526 merges so this is unblocked.

@coveralls
Copy link

coveralls commented Jun 3, 2025

Pull Request Test Coverage Report for Build 15428700225

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 18 unchanged lines in 4 files lost coverage.
  • Overall coverage remained the same at 87.893%

Files with Coverage Reduction New Missed Lines %
crates/transpiler/src/passes/unitary_synthesis.rs 1 94.57%
crates/qasm2/src/lex.rs 5 92.23%
crates/circuit/src/symbol_expr.rs 6 75.02%
crates/qasm2/src/parse.rs 6 97.15%
Totals Coverage Status
Change from base Build 15428348544: 0.0%
Covered Lines: 81384
Relevant Lines: 92594

💛 - Coveralls

@jakelishman jakelishman added this pull request to the merge queue Jun 4, 2025
Merged via the queue into Qiskit:main with commit 5827235 Jun 4, 2025
26 checks passed
@mtreinish mtreinish deleted the add-carg-check-check-standalone-∀-crates branch June 4, 2025 09:37
@jakelishman jakelishman added this to the 2.1.0 milestone Jun 5, 2025
rahaman-quantum pushed a commit to rahaman-quantum/qiskit that referenced this pull request Jun 20, 2025
This commit adds a new step to the rust unit test CI job that runs cargo
check on each of our crates in isolation to ensure that they all build
on their own. This will prevent issues like what was fixed in Qiskit#14526
from popping up again (which has happened before).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: None Do not include in changelog Rust This PR or issue is related to Rust code in the repository type: qa Issues and PRs that relate to testing and code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants