Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shishnk authored Apr 14, 2024
1 parent 6b710ec commit 03deadd
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,10 @@ jobs:
run: dotnet test ./WeatherBotApi.WeatherApp/Tests/WeatherApp.Tests/WeatherApp.Tests.csproj --verbosity normal /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov

- name: Test DatabaseApp
run: dotnet test ./WeatherBotApi.DatabaseApp/Tests/DatabaseApp.Tests/DatabaseApp.Tests.csproj --verbosity normal /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov
run: dotnet test ./WeatherBotApi.DatabaseApp/Tests/DatabaseApp.Tests/DatabaseApp.Tests.csproj --verbosity normal /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov /p:MergeWith=./WeatherBotApi.WeatherApp/Tests/WeatherApp.Tests/TestResults/coverlet.json

- name: Publish coverage report (weather service)
- name: Publish coverage report
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: './WeatherBotApi.WeatherApp/Tests/WeatherApp.Tests/TestResults/coverage.info'

- name: Publish coverage report (database service)
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: './WeatherBotApi.DatabaseApp/Tests/Database.Tests/TestResults/coverage.info'
path-to-lcov: './WeatherBotApi.DatabaseApp/Tests/DatabaseApp.Tests/TestResults/coverage.info'

0 comments on commit 03deadd

Please sign in to comment.