Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
leMicin authored Apr 22, 2021
1 parent 7e928b1 commit 732f9f3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -39,6 +39,23 @@ jobs:
name: Tests - Unit Tests
path: '**/*.trx'
reporter: dotnet-trx

- name: ReportGenerator
uses: danielpalme/ReportGenerator-GitHub-Action@4.8.7
with:
reports: ' tests\Sidekick.Application.Tests\coverage.cobertura.xml' # REQUIRED # The coverage reports that should be parsed (separated by semicolon). Globbing is supported.
targetdir: 'coveragereport' # REQUIRED # The directory where the generated report should be saved.
reporttypes: 'HtmlInline;Cobertura' # The output formats and scope (separated by semicolon) Values: Badges, Clover, Cobertura, CsvSummary, Html, HtmlChart, HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Dark, HtmlSummary, JsonSummary, Latex, LatexSummary, lcov, MHtml, PngChart, SonarQube, TeamCitySummary, TextSummary, Xml, XmlSummary
verbosity: 'Info' # The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off
title: 'Sidekick Coverage' # Optional title.
tag: '${{ github.run_number }}_${{ github.run_id }}' # Optional tag or build version.

- name: Upload coverage report artifact
uses: actions/upload-artifact@v1.0.0
with:
name: CoverageReport # Artifact name
path: coveragereport # Directory containing files to upload

- name: Tests - Coverage Report
uses: 5monkeys/cobertura-action@v8
with:

0 comments on commit 732f9f3

Please sign in to comment.