Skip to content

Merge pull request #12 from Doraku/dependabot/nuget/source/Microsoft.… #65

Merge pull request #12 from Doraku/dependabot/nuget/source/Microsoft.…

Merge pull request #12 from Doraku/dependabot/nuget/source/Microsoft.… #65

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'