Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
karlospn committed Jul 8, 2024
1 parent ef3873a commit 3bb2ef7
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
name: Publish Code Coverage

on:
name: Upload Code Coverage
on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 1

- name: Test
run: dotnet test --collect:"XPlat Code Coverage" --results-directory coverage
- name: Test
run: dotnet test --collect:"XPlat Code Coverage" --results-directory coverage

- name: Code Coverage Summary Report
uses: irongut/CodeCoverageSummary@v1.3.0
with:
filename: 'coverage/*/coverage.cobertura.xml'
badge: true
format: 'markdown'
output: 'both'

- name: Write to Job Summary
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
- name: Code Coverage Summary Report
uses: irongut/CodeCoverageSummary@v1.3.0
with:
filename: 'coverage/*/coverage.cobertura.xml'
badge: true
format: 'markdown'
output: 'both'
- name: Write to Job Summary
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY

0 comments on commit 3bb2ef7

Please sign in to comment.