Skip to content

Update get_lcov_path #7

Update get_lcov_path

Update get_lcov_path #7

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:
path-to-lcov: ${{ steps.get_lcov_path.outputs.LCOVPATH }}