Skip to content

Fix WASM panic: move use_sessions() out of use_signal initializer; ad… #5

Fix WASM panic: move use_sessions() out of use_signal initializer; ad…

Fix WASM panic: move use_sessions() out of use_signal initializer; ad… #5

Workflow file for this run

name: Tests and Coverage
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Run tests with coverage
run: cargo llvm-cov --bin log-workout --lcov --output-path lcov.info
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: lcov.info
retention-days: 7