probabilistic-rs 0.6.4

Probabilistic data structures in Rust
Documentation
name: Tests

on:
  push:
    branches: [ main, dev ]
  pull_request:
    branches: [ main, dev ]
  workflow_dispatch:

env:
  CARGO_TERM_COLOR: always

jobs:
  test:
    name: Test Suite
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: dtolnay/rust-toolchain@stable
      - uses: actions/cache@v3
        with:
          path: |
            ~/.cargo/bin/
            ~/.cargo/registry/index/
            ~/.cargo/registry/cache/
            ~/.cargo/git/db/
            target/
          key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

      - name: Cargo check
        run: cargo check --features "server,cli,fjall" --workspace

      - name: Run unit tests
        run: cargo test --lib --features "server,cli,fjall" --workspace

      - name: Run integration tests
        run: cargo test --test "*" --features "server,cli,fjall" --workspace