name: test-features
on:
push:
branches:
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
std:
spin:
parking_lot:
triple:
flip:
steps:
- uses: actions/checkout@v4
- name: Run cargo test
run: cargo +nightly test --all --features=${{ matrix.std }}${{ matrix.spin }}${{ matrix.parking_lot }}${{ matrix.triple }}${{ matrix.flip }}