Merge pull request #6 from Doraku/dependabot/nuget/source/DefaultDocu… #58
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: '8.0.x' | |
- name: Collect coverage | |
run: dotnet test source -c Release -f net8.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.net8.0.info' |