name: test
on:
workflow_dispatch:
push:
branches:
- main
jobs:
# at the moment miri can't check Process32Next and CreateToolhelp32Snapshot system calls
# miri:
# name: "Miri"
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v4
# - name: Install Miri
# run: |
# rustup toolchain install nightly --component miri
# rustup override set nightly
# cargo miri setup
# - name: Test with Miri
# run: cargo miri test
test:
strategy:
matrix:
os:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Test
run: cargo test