Skip to content

Merge pull request #13 from Doraku/dependabot/nuget/source/NFluent-3.1.0 #66

Merge pull request #13 from Doraku/dependabot/nuget/source/NFluent-3.1.0

Merge pull request #13 from Doraku/dependabot/nuget/source/NFluent-3.1.0 #66

Workflow file for this run

name: code coverage
on:
push:
branches:
- master
paths:
- '.github/workflows/CodeCoverage.yml'
- 'source/DefaultUnDo/**'
- 'source/DefaultUnDo.Test/**'
jobs:
code_coverage:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Collect coverage
run: dotnet test source -c Release -f net9.0
env:
CollectCoverage: true
CoverletOutputFormat: lcov
CoverletOutput: ..\..\build\lcov.info
- name: Upload to coverall
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: 'build\lcov.net9.0.info'