Merge pull request #13 from Doraku/dependabot/nuget/source/NFluent-3.1.0 #66
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: 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' |