mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-23 03:35:14 +00:00
19a5e9dfd0
In order to get the platform-specific code some coverage testing.
24 lines
623 B
YAML
24 lines
623 B
YAML
name: Coverage
|
|
|
|
on:
|
|
push:
|
|
branches: ['main', '0.8.x']
|
|
|
|
jobs:
|
|
coverage:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
- uses: taiki-e/install-action@cargo-llvm-cov
|
|
- run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
|
|
- name: Upload coverage to Codecov
|
|
uses: codecov/codecov-action@v4
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
files: lcov.info
|
|
fail_ci_if_error: true
|