Skip to content

Specify lcov format

Specify lcov format #9

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: dotnet build -c Release
- name: Test
run: dotnet test -c Release --no-build --collect:"XPlat Code Coverage;Format=lcov"
- name: Get path to lcov file
id: get_lcov_path
shell: bash
run: echo "LCOVPATH=$(find ~+ -iname 'coverage.info')" >> $GITHUB_OUTPUT
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2
with:
file: ${{ steps.get_lcov_path.outputs.LCOVPATH }}
format: lcov