Flurl/Build/test.sh

10 lines
356 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
SCRIPT_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2019-02-24 12:04:41 +03:00
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/"