Skip to content

updated roslynator

updated roslynator #55

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:
- name: Checkout
uses: actions/checkout@v2
- name: Set up dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Collect coverage for net8.0
run: dotnet test source\DefaultUnDo.Test\DefaultUnDo.Test.csproj -c Release -f net8.0 -p:CollectCoverage=true -p:CoverletOutputFormat=lcov -p:CoverletOutput=..\..\build\lcov.info -p:Exclude="[*]DefaultEcs.Technical.Debug*" /p:TEST=true
- name: Upload to coverall
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: 'build\lcov.net8.0.info'