Skip to content

Aggregate LCOV results

Actions
Aggregates multiple LCOV results into one in Lerna monorepo
v1.0.0
Latest
Star (0)

LCOV code coverage aggregator for Lerna monorepos GitHub action

NOTE: This has been replaced with workspace-lcov-aggregate-action.

GitHub action which executes lerna-lcov-aggregate.

Usage example

This example runs npm run test:coverage at the root of Lerna monorepo, then aggregates LCOV results from all packages into single file and finally pushes the result into Coveralls.

on: ["push", "pull_request"]

name: Test

jobs:

  build:
    name: Build
    runs-on: ubuntu-latest
    steps:

    - uses: actions/checkout@v1

    - name: Use Node.js 12.x
      uses: actions/setup-node@v1
      with:
        node-version: 12.x

    - name: npm install, npm run test:coverage
      run: |
        npm install
        npm run test:coverage

    - name: Aggregate LCOV results
      uses: RauliL/lerna-lcov-aggregate-action@master

    - name: Coveralls
      uses: coverallsapp/github-action@master
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}

Aggregate LCOV results is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Aggregates multiple LCOV results into one in Lerna monorepo
v1.0.0
Latest

Aggregate LCOV results is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.