Skip to content

Convert incremental coverage scripts to use json coverage report #6276

Open
@pavoljuhas

Description

@pavoljuhas

Description of the issue

The current coverage checking script check/pytest-and-incremental-coverage relies on the coverage annotate command which is deprecated per nedbat/coveragepy@59b07a1. The coverage tool has json command for producing JSON report, which should provide equivalent data as coverage annotate.

Proposal

Benefits

  • CI scripts will be future-proofed for the removal of coverage annotate

Cirq version

1.3.0.dev at b28bfce

Metadata

Metadata

Labels

good first issueThis 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 itemsno QC knowledge neededWant 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 on

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions