ci: switch tarpaulin output to lcov format

This commit is contained in:
2025-07-28 18:24:00 -05:00
parent cbf52bb994
commit 91095ed2cc
2 changed files with 4 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ jobs:
uses: pyodide/setup-emsdk@v15 uses: pyodide/setup-emsdk@v15
with: with:
version: 3.1.43 version: 3.1.43
actions-cache-folder: "emsdk-cache" actions-cache-folder: "emsdk-cache-b"
- name: Setup Rust (WASM32 Emscripten) - name: Setup Rust (WASM32 Emscripten)
uses: dtolnay/rust-toolchain@master uses: dtolnay/rust-toolchain@master

View File

@@ -47,12 +47,13 @@ jobs:
- name: Generate coverage report - name: Generate coverage report
run: | run: |
cargo tarpaulin \ cargo tarpaulin \
--out Html \ --out Lcov \
--output-dir coverage \ --output-dir coverage \
--rustflags="-C link-arg=-lz" --rustflags="-C link-arg=-lz"
- name: Upload coverage to Coveralls - name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2 uses: coverallsapp/github-action@v2
with: with:
files: ./coverage/tarpaulin-report.html files: ./coverage/lcov.info
format: lcov
allow-empty: false allow-empty: false