Files
git.stella-ops.org/devops/tools/run-concelier-linkset-tests.sh
2026-01-25 23:27:41 +02:00

23 lines
797 B
Bash

#!/usr/bin/env bash
set -euo pipefail
# Minimal helper to run the linkset-related test slices with TRX output.
# Use a clean environment to reduce "invalid test source" issues seen locally.
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export DOTNET_ROLL_FORWARD=Major
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
pushd "$root_dir" >/dev/null
dotnet test \
src/Concelier/__Tests/StellaOps.Concelier.Core.Tests/StellaOps.Concelier.Core.Tests.csproj \
--filter "AdvisoryObservationAggregationTests|LinksetCorrelation" \
--logger "trx;LogFileName=core-linksets.trx"
dotnet test \
src/Concelier/__Tests/StellaOps.Concelier.Persistence.Tests/StellaOps.Concelier.Persistence.Tests.csproj \
--filter "LinksetStore" \
--logger "trx;LogFileName=storage-linksets.trx"
popd >/dev/null