name: Run tests
on: [push, pull_request]
jobs:
test_macos:
runs-on: macos-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Start ClamAV daemon clamd
uses: toblux/start-clamd-github-action@v0.1
- name: Run tests
run: cargo test --all-features -- --skip oversized
test_ubuntu:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Start ClamAV daemon clamd
uses: toblux/start-clamd-github-action@v0.1
- name: Run tests
run: cargo test --all-features -- --skip oversized
test_windows:
env:
CLAMAV_WIN_VERSION: clamav-1.0.4.win.x64
runs-on: windows-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Start ClamAV daemon clamd
uses: toblux/start-clamd-github-action@v0.1
- name: Run tests
run: cargo test --all-features -- --skip oversized