commit a2a830665ca48e5320c1396ceb0a590a2baa3e4a parent aaa4b7fe07f74a90b8cb01a6b48e40e0de68b0dc 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