#!/usr/bin/env sh #MISE description="Run tests for doing-config" #USAGE flag "--filter" help="Filter tests by name" { #USAGE arg "" #USAGE } set -e FILTER_ARGS="" if [ -n "${usage_filter}" ]; then FILTER_ARGS="--no-fail-fast --filter-expr 'test(/${usage_filter}/)'" fi eval cargo llvm-cov nextest -p "doing-config" --summary-only --all-features --no-tests pass $FILTER_ARGS cargo llvm-cov report --html --output-dir coverage cargo llvm-cov report --cobertura --output-path coverage/cobertura.xml