Skip to content

Commit

Permalink
Update OnPush.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjdk authored Jan 5, 2025
1 parent b8e07d4 commit 057f054
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/OnPush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,13 @@ jobs:
run: dotnet user-secrets set TrelloApiKey ${{ secrets.TRELLOAPIKEY }} --project src/TrelloDotNet.Tests/TrelloDotNet.Tests.csproj
- name: SetUserSecretsTrelloToken
run: dotnet user-secrets set TrelloToken ${{ secrets.TRELLOTOKEN }} --project src/TrelloDotNet.Tests/TrelloDotNet.Tests.csproj
- name: Test
run: dotnet test --configuration Release --no-build --verbosity normal --p:CollectCoverage=true --p:CoverletOutput=TestResults/ --p:CoverletOutputFormat=lcov
working-directory: src/TrelloDotNet.Tests
- name: Publish coverage report to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: src/TrelloDotNet.Tests/TestResults/coverage.info
- name: Publish to NuGet if needed
run: dotnet nuget push **\*.nupkg --source 'https://api.nuget.org/v3/index.json' --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate

0 comments on commit 057f054

Please sign in to comment.