feat(installer): new dll and installer #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |