mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-22 17:50:03 +08:00
defd048d13
- change macOS 11 ci builds to newer ones, macOS 11 is deprecated - fix Opc.Ua.Client EventSource message numbering - bump nerdgit to 3.6.139 - include .NET Standard 2.0 builds back in Nuget packages for client and server (complex type support requires netcoreapp2.1 which is end of life) - include .NET Framework 4.7.2 as lowest supported .NET Framework platform - move https client channel back to core library, as it requires only netstandard2.0 and has no other dependencies. - Opc.Ua.Https is now only needed for a https server with kestrel. - fix security warning for system.private.uri - upload Quickstarts.Servers to the preview feed to allow use in the samples repo and avoid duplicate codebase
18 lines
802 B
Bash
Executable File
18 lines
802 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) OPC Foundation. All rights reserved.
|
|
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
BUILDROOT=$(pwd)/..
|
|
cd $BUILDROOT
|
|
|
|
rm -r ./CodeCoverage
|
|
rm -r ./TestResults
|
|
dotnet test "UA Core Library.sln" -v n --configuration Release --framework net8.0 --collect:"XPlat Code Coverage" --settings ./Tests/coverlet.runsettings.xml --results-directory ./TestResults
|
|
|
|
# ensure latest report tool is installed
|
|
dotnet tool uninstall -g dotnet-reportgenerator-globaltool
|
|
dotnet tool install -g dotnet-reportgenerator-globaltool
|
|
reportgenerator -reports:./TestResults/**/coverage.cobertura.xml -targetdir:./CodeCoverage -reporttypes:"Badges;Html;HtmlSummary;Cobertura"
|
|
|
|
# Display result in browser (mac OS)
|
|
open ./CodeCoverage/index.html |