Skip to content

Fixed some bugs in the test results plugin. Added the option to set l… #136

Fixed some bugs in the test results plugin. Added the option to set l…

Fixed some bugs in the test results plugin. Added the option to set l… #136

Workflow file for this run

name: BuildRoboClerk
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['6.0.x']
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
/p:CollectCoverage=true
/p:CoverletOutput=coverage.info
/p:CoverletOutputFormat=lcov
- name: Publish coverage report to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./RoboClerk.Tests/coverage.info
doxygen:
runs-on: ubuntu-latest
#only run on main and if the build was successful
if: github.ref == 'refs/heads/main' && ${{ always() && contains(join(needs.*.result, ','), 'success') }}
needs: [build]
steps:
- uses: actions/checkout@v3
- name: Doxygen Action
uses: mattnotmitt/[email protected]
with:
doxyfile-path: ./Doxyfile
working-directory: .
- name: GitHub Pages v3
uses: peaceiris/[email protected]
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_branch: main
publish_dir: ./Documentation/html
external_repository: MeindertN/MeindertN.github.io