Test report and coverage for OxygenHub on every push issue #307 closed: completed andymccall opened this · 0 comments
andymccall set labels feature ·
closed by change fbd7c8551932 ·
andymccall set labels feature ·
closed by change fbd7c8551932 ·
Andy (2026-10-25). As supermarioland and metalgear do: the job declares
output { artifact "coverage" { path … } artifact "junit" { path … } }; the hub reads an artifact namedcoverage(LCOV or Cobertura) into the Coverage tab and one namedjunit(JUnit XML) into the run's tests.Here: the
testjob (cargo test --workspace) becomescargo llvm-cov nextest --workspace --locked --lcovwith a JUnit profile (cargo-nextest in the image: https://oxygenhub.io/andymccall/oxygenflow/issue/81), declaringcoverageandjunit;test-postgreswrites its ownjunittoo, so a test failing only on Postgres shows by name. Measure the instrumented run against today's (about 6 min on earth-1) before deciding whether coverage runs on every push or on main only.