Skip to content

Fix cargo-llvm-cov HTML generation conflict in CI #217

@RAprogramm

Description

@RAprogramm

Problem

After merging #216, the generate-coverage job fails in CI because we're running two conflicting cargo-llvm-cov commands:

  1. cargo llvm-cov nextest --profile ci --lcov - generates coverage with nextest
  2. cargo llvm-cov --html - tries to generate HTML by re-running coverage WITHOUT nextest

This causes the second command to fail.

Solution

Remove HTML coverage report generation from CI workflow. The HTML report is only needed for local development, not in CI. Codecov provides its own web interface for coverage visualization.

Changes:

  • Remove "Generate HTML coverage report" step from generate-coverage job
  • Remove target/llvm-cov/html/ from artifact upload path
  • Update summary message

Related

Test Plan

  • CI should complete successfully on main after this fix
  • Coverage data should upload correctly to Codecov

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions