Skip to content

Commit

Permalink
Merge pull request #33 from RickOlaf/feature/pipeline
Browse files Browse the repository at this point in the history
Feature/pipeline
  • Loading branch information
martinhey authored Aug 16, 2024
2 parents a0d8251 + a38fb48 commit aec9f12
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/dotnet-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,19 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --filter Category=UnitTest --no-restore --verbosity normal
- name: Generate coverage report
run: dotnet test --filter Category=UnitTest --no-restore --verbosity normal /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov
- name: Pack NuGet-Package
run: dotnet pack --configuration Release --no-restore --no-build
- name: Publish coverage report to coveralls.io
uses: coverallsapp/[email protected]
uses: coverallsapp/[email protected]

with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./Develappers.RedmineHourglassApi.Tests/TestResults/coverage.info

0 comments on commit aec9f12

Please sign in to comment.