Flurl/Build/test.sh
2019-02-24 12:04:41 +03:00

10 lines
356 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
SCRIPT_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo "!!WARNING!! This script for pipeline test running and checking code coverage for netstandard and netcoreapp targets"
dotnet test -c Release /p:CollectCoverage=true /p:Threshold=75 \
/p:Exclude="[NUnit3.*]*" \
"${SCRIPT_ROOT}/../test/Flurl.Test/"