litmus 0.5.0

a macro-free BDD test harness.
Documentation
name: Test

on:
  workflow_call:

jobs:
  cargo-nextest:
    strategy:
      fail-fast: false
      matrix:
        os:
          - ubuntu-latest
          - macos-latest
          - windows-latest
        channel:
          - stable
          - beta
          - nightly

    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v4

      - uses: dtolnay/rust-toolchain@master
        with:
          toolchain: ${{ matrix.channel }}

      - uses: Swatinem/rust-cache@v2

      - uses: taiki-e/install-action@v2
        with:
          tool: nextest
      
      - run: cargo nextest run --profile ci --workspace --all-targets  # Removed `--all-features` due to mutually exlucisve feature flags