Skip to content

Add missing #[cfg()] #118

Add missing #[cfg()]

Add missing #[cfg()] #118

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Start ClamAV daemon
uses: toblux/start-clamd-github-action@v0.1
with:
stream_max_length: 1000000
- name: Run tests with separate features
run: |
cargo test --features tokio -- --skip oversized
cargo test --features tokio-stream -- --skip oversized
cargo test --features async-std -- --skip oversized
- name: Run tests with all features
run: cargo test --all-features -- --skip oversized