-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Convert incremental coverage scripts to use json coverage report #6276
Copy link
Copy link
Open
Labels
good first issueThis issue can be resolved by someone who is not familiar with the codebase. A good starting issue.This issue can be resolved by someone who is not familiar with the codebase. A good starting issue.kind/healthFor CI/testing/release process/refactoring/technical debt itemsFor CI/testing/release process/refactoring/technical debt itemsno QC knowledge neededWant to contribute to Cirq, but don't know quantum computing? This issue is for you.Want to contribute to Cirq, but don't know quantum computing? This issue is for you.triage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked onA consensus emerged that this bug report, feature request, or other action should be worked on
Metadata
Metadata
Assignees
Labels
good first issueThis issue can be resolved by someone who is not familiar with the codebase. A good starting issue.This issue can be resolved by someone who is not familiar with the codebase. A good starting issue.kind/healthFor CI/testing/release process/refactoring/technical debt itemsFor CI/testing/release process/refactoring/technical debt itemsno QC knowledge neededWant to contribute to Cirq, but don't know quantum computing? This issue is for you.Want to contribute to Cirq, but don't know quantum computing? This issue is for you.triage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked onA consensus emerged that this bug report, feature request, or other action should be worked on
Type
Projects
Status
No status
Description of the issue
The current coverage checking script check/pytest-and-incremental-coverage relies on the
coverage annotatecommand which is deprecated per coveragepy/coveragepy@59b07a1. Thecoveragetool hasjsoncommand for producing JSON report, which should provide equivalent data ascoverage annotate.Proposal
coverage jsoninstead ofcoverage annotatecoverage annotateoutput, for example in dev_tools/check_incremental_coverage_annotations.pycheck/pytestwithout having to use the--cov-config=.../to/.coveragercoption.Benefits
coverage annotateCirq version
1.3.0.dev at b28bfce