rust-imap/github/workflows/loom.yml
2022-09-17 12:34:34 -07:00

22 lines
481 B
YAML

on:
push:
branches: [main]
pull_request:
name: Loom
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- uses: actions/checkout@v2
- name: cargo test --test loom
uses: actions-rs/cargo@v1
with:
command: test
args: --release --test loom
env:
LOOM_MAX_PREEMPTIONS: 2
RUSTFLAGS: "--cfg loom"