Skip to content

Add comment about race condition in test #61

Add comment about race condition in test

Add comment about race condition in test #61

Workflow file for this run

name: Cargo Test
on: ["push", "pull_request"]
# Cancel in-progress runs for previous commits if there are any that haven't completed yet.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-latest, macos-latest]
include:
- os: windows-latest
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
# Use stable Rust toolchain
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run cargo test
run: cargo test --target ${{ matrix.target || '$(rustc --version --verbose | grep host | awk ''{print $2}'')' }} -- --nocapture