Skip to content

Commit b7069fe

Browse files
authored
#134 fix: remove invalid WASM coverage upload (#135)
Remove WASM coverage job that produces empty lcov files because wasmcov doesn't properly capture coverage data for wasm32 target. Codecov was rejecting these uploads as unusable reports.
1 parent 3971534 commit b7069fe

File tree

1 file changed

+0
-47
lines changed

1 file changed

+0
-47
lines changed

.github/workflows/reusable-ci.yml

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -226,50 +226,3 @@ jobs:
226226
verbose: true
227227
flags: native
228228

229-
# 📊 WASM Coverage
230-
wasm-coverage:
231-
name: Coverage (WASM)
232-
runs-on: ubuntu-latest
233-
needs: setup
234-
steps:
235-
- uses: actions/checkout@v5
236-
237-
- name: Install Rust nightly
238-
uses: dtolnay/rust-toolchain@v1
239-
with:
240-
toolchain: nightly
241-
targets: wasm32-unknown-unknown
242-
components: llvm-tools-preview
243-
244-
- name: Cache cargo
245-
uses: Swatinem/rust-cache@v2
246-
with:
247-
shared-key: "nightly-wasm"
248-
save-if: ${{ github.ref == 'refs/heads/main' }}
249-
250-
- name: Install wasmcov
251-
shell: bash
252-
run: |
253-
set -euo pipefail
254-
cargo +nightly install wasmcov
255-
256-
- name: Run WASM tests with coverage
257-
shell: bash
258-
run: |
259-
set -euo pipefail
260-
cargo +nightly wasmcov test -- --all-features -- --test-threads=1
261-
262-
- name: Generate WASM coverage report
263-
shell: bash
264-
run: |
265-
set -euo pipefail
266-
cargo +nightly wasmcov report -- export --format=lcov > wasm-lcov.info
267-
268-
- name: Upload WASM coverage to Codecov
269-
uses: codecov/codecov-action@v5
270-
with:
271-
token: ${{ secrets.CODECOV_TOKEN }}
272-
files: wasm-lcov.info
273-
fail_ci_if_error: true
274-
verbose: true
275-
flags: wasm

0 commit comments

Comments
 (0)