Skip to content

cleanup

cleanup #57

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: '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'