Merge branch 'improve-pipeline' of https://github.com/Qowaiv/Qowaiv i… #190
Workflow file for this run
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: Code coverage | |
on: | |
push: | |
branches: | |
- master | |
- improve-pipeline # temporary, remove before merge | |
workflow_run: | |
workflows: ['Build'] | |
types: | |
- completed | |
jobs: | |
report: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dorny/test-reporter@v1 | |
with: | |
artifact: test-results | |
name: Unit test results | |
path: '**/*.trx' | |
reporter: dotnet-trx | |
# jobs: | |
# build: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v1 | |
# - name: Setup .NET 8.0 | |
# uses: actions/setup-dotnet@v1 | |
# with: | |
# dotnet-version: "8.0.x" | |
# - name: Generate coverage report | |
# run: dotnet test ./specs/Qowaiv.Specs -f net8.0 /p:CollectCoverage=true /p:ThresholdType=branch /p:CoverletOutputFormat=lcov --configuration Release | |
# - name: Publish coverage report to coveralls.io | |
# uses: coverallsapp/github-action@master | |
# with: | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
# path-to-lcov: ./specs/Qowaiv.Specs/coverage.net8.0.info |