Skip to content

Add RUST_BACKTRACE=1 #144

Add RUST_BACKTRACE=1

Add RUST_BACKTRACE=1 #144

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/[email protected]
with:
stream_max_length: 1000000
- name: Run tests with separate features
run: |
RUST_BACKTRACE=1 cargo test --features tokio
RUST_BACKTRACE=1 cargo test --features tokio-stream
RUST_BACKTRACE=1 cargo test --features async-std
- name: Run tests with all features
run: RUST_BACKTRACE=1 cargo test --all-features