Skip to content

feat(installer): new dll and installer #20

feat(installer): new dll and installer

feat(installer): new dll and installer #20

Workflow file for this run

name: GITHUB REPORT PAGE
on:
push:
branches: [ documentation ]
jobs:
deploy:
runs-on: windows-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout master branch
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 3.1.X
- name: Install reportgenerator
run: |
dotnet tool install -g dotnet-reportgenerator-globaltool
- name: Generate test report
working-directory: project/Morpho/MorphoTests
run: |
New-Item -Path '.results' -ItemType Directory
$TestOutput = dotnet test --collect "XPlat Code Coverage" -r .results/log
$TestReports = $TestOutput | Select-String coverage.cobertura.xml | ForEach-Object { $_.Line.Trim() }
reportgenerator -reports:$TestReports -targetdir:coverlet/reports -reporttypes:HtmlInline_AzurePipelines
shell: powershell
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/documentation' }}
with:
personal_token: ${{ secrets.PER_TOKEN }}
publish_dir: ./project/Morpho/MorphoTests/coverlet/reports