Skip to content

Generating a report from multiple nextest-archive runs #426

@BatmanAoD

Description

@BatmanAoD

We are using separate nextest archives for separate feature-sets, and we'd like cargo llvm-cov report to be able to create a combined report from the separate archives. It appears that the report command only permits a single --nextest-archive-file argument.

  • we nextest-archive each --feature, using a common target directory target/llvm-cov-target/`
  • for each nextest archive, we run llvm-cov nextest in a separate CI job
  • a subsequent job collects all of the profraw files and puts them under target/llvm-cov-target/.
  • we then attempt to generate a coverage report using that directory:

So we'd like to be able to do cargo llvm-cov report --nextest-archive-file <file1> --nextest-archive-file <file2>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-nextestArea: nextest integration https://github.com/nextest-rs/nextestC-enhancementCategory: A new feature or an improvement for an existing one

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions