Skip to content

Commit

Permalink
[CI] Save HTML coverage report for .NET interface
Browse files Browse the repository at this point in the history
  • Loading branch information
speth authored and ischoegl committed Nov 4, 2022
1 parent 923a52d commit 9f4e644
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -187,6 +187,9 @@ jobs:
run: |
dotnet test --collect:"XPlat Code Coverage"
mv Cantera.Tests/TestResults/*/coverage.cobertura.xml .
dotnet new tool-manifest
dotnet tool install --local dotnet-reportgenerator-globaltool
dotnet reportgenerator -reports:"coverage.cobertura.xml" -targetdir:"coveragereport" -reporttypes:Html
working-directory: interfaces/dotnet
- name: Process coverage files
run: |
Expand All @@ -206,6 +209,12 @@ jobs:
name: python-coverage-report
path: build/python-coverage*
retention-days: 5
- name: Archive .NET coverage results
uses: actions/upload-artifact@v2
with:
name: dotnet-coverage-report
path: interfaces/dotnet/coveragereport*
retention-days: 5
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 9f4e644

Please sign in to comment.