Skip to content

Fix CI: cargo test --all ignored default-members, broke on ndi-io #6

Fix CI: cargo test --all ignored default-members, broke on ndi-io

Fix CI: cargo test --all ignored default-members, broke on ndi-io #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: fmt
run: cargo fmt --all -- --check
- name: clippy
run: cargo clippy --all-targets -- -D warnings
- name: test
# No --all/--workspace: that overrides [workspace] default-members
# and would try to build ndi-io/omt-io too, which need real SDKs
# (NDI SDK, libomt) that aren't installed on this runner. Plain
# `cargo test` respects default-members and stays SRT-only.
run: cargo test