Skip to content

Introduce UTILMDG and UTILMDS for FV2310 #636

Introduce UTILMDG and UTILMDS for FV2310

Introduce UTILMDG and UTILMDS for FV2310 #636

name: Unittests and Coverage
on: [push, pull_request]
jobs:
unittest:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ["6.0.201", "7.0.100"]
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Run Tests
run: dotnet test --configuration Release
coverage:
needs: unittest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.201
- name: Install dependencies
run: dotnet restore
- name: Install coverlet.msbuild in EDILibraryTests
working-directory: ./EDILibraryTests
run: dotnet add package coverlet.msbuild
- name: Measure Test Coverage
run: dotnet test /p:Threshold=7 /p:Include=\"[*]EDILibrary.*\" /p:ThresholdType=line /p:CollectCoverage=true /p:SkipAutoProps=true /p:CoverletOutputFormat=lcov --configuration Release