commit 638e4807de17f32c89d7f2bf06d642df3ae0f118 parent da8e7f701cb3b19e48bec10c01a11211427cb55b Author: triesap <tyson@radroots.org> Date: Tue, 3 Mar 2026 18:42:25 +0000 ci: add strict coverage workflow and docs Diffstat:
| A | .github/workflows/coverage.yml | | | 39 | +++++++++++++++++++++++++++++++++++++++ |
1 file changed, 39 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml @@ -0,0 +1,39 @@ +name: coverage + +on: + push: + branches: + - master + pull_request: + +jobs: + gate: + name: strict coverage gate + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: checkout + uses: actions/checkout@v4 + + - name: install nightly toolchain + uses: dtolnay/rust-toolchain@nightly + with: + components: llvm-tools-preview + + - name: install cargo-llvm-cov + uses: taiki-e/install-action@cargo-llvm-cov + + - name: rust cache + uses: Swatinem/rust-cache@v2 + + - name: run strict gate + run: scripts/just/coverage_gate.sh + + - name: upload coverage artifacts + if: always() + uses: actions/upload-artifact@v4 + with: + name: coverage-artifacts + path: | + target/coverage/summary.json + target/coverage/lcov.info