Bump NSubstitute from 5.1.0 to 5.3.0 #1055
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unittests and Coverage | |
on: [push, pull_request] | |
jobs: | |
unittest: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dotnet-version: ["6.0.201", "7.0.100", "8.0.100"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
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@v4 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
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 |