feat: WebAssembly plugin support with end-to-end host invocation #200
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # =============================================================== | |
| # Coverage - report-only (no gate). Surfaces line/region coverage | |
| # via cargo-llvm-cov; does NOT fail the build on a threshold yet. | |
| # Add `--fail-under-lines N` here and to `make coverage` to enforce | |
| # a gate once the Rust port has settled. | |
| # =============================================================== | |
| name: Coverage | |
| on: | |
| push: | |
| branches: ["main", "dev"] | |
| pull_request: | |
| types: [opened, synchronize, ready_for_review] | |
| branches: ["main", "dev"] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| permissions: | |
| contents: read | |
| jobs: | |
| coverage: | |
| name: cargo-llvm-cov (report only) | |
| if: github.event_name != 'pull_request' || !github.event.pull_request.draft | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install Rust 1.96.0 | |
| uses: dtolnay/rust-toolchain@1.96.0 | |
| with: | |
| components: llvm-tools-preview | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Install cargo-llvm-cov | |
| run: cargo install cargo-llvm-cov --locked | |
| - name: Coverage summary | |
| run: cargo llvm-cov --workspace --summary-only | tee "$GITHUB_STEP_SUMMARY" |