Skip to content

Add zstd compression support #26

Add zstd compression support

Add zstd compression support #26

Workflow file for this run

name: tests
on:
push:
branches:
- "main"
pull_request:
branches:
- "*"
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup toolchain install stable --component llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- uses: Swatinem/rust-cache@v2
- name: Check doc tests
# These don't run as part of llvm-cov yet. We mostly just care that
# these compile, none of them actually test much.
run: cargo test --doc --workspace --all-features
- name: Generate code coverage
run: cargo llvm-cov --workspace --all-features --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: lcov.info
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}