Skip to content

Commit

Permalink
Restoring Codecov step
Browse files Browse the repository at this point in the history
  • Loading branch information
EliIser committed May 14, 2024
1 parent e873e55 commit 3490e08
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
# We don't have a good cross-platform way of splitting long lines
run: |
dotnet test dropbox-sdk-dotnet/Dropbox.Api.Unit.Tests --collect:"XPlat Code Coverage" -- 'DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.ExcludeByFile=**/Generated/**/*.cs'
#- name: Publish Coverage
# uses: codecov/codecov-action@v4
# if: matrix.os == 'ubuntu-latest'
# with:
# flags: unit
# fail_ci_if_error: true
# directory: dropbox-sdk-dotnet/Dropbox.Api.Unit.Tests/TestResults/
- name: Publish Coverage
uses: codecov/codecov-action@v4
if: matrix.os == 'ubuntu-latest'
with:
flags: unit
fail_ci_if_error: true
directory: dropbox-sdk-dotnet/Dropbox.Api.Unit.Tests/TestResults/
IntegrationTests:
strategy:
matrix:
Expand Down Expand Up @@ -60,13 +60,13 @@ jobs:
DROPBOX_INTEGRATION_teamAccessToken: ${{ secrets.TEAM_APP_ACCESS_TOKEN }}
run: |
dotnet test dropbox-sdk-dotnet/Dropbox.Api.Integration.Tests --collect:"XPlat Code Coverage" -- 'DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.ExcludeByFile=**/Generated/**/*.cs'
#- name: Publish Coverage
# uses: codecov/codecov-action@v4
# if: matrix.os == 'ubuntu-latest'
# with:
# flags: integration
# fail_ci_if_error: true
# directory: dropbox-sdk-dotnet/Dropbox.Api.Integration.Tests/TestResults/
- name: Publish Coverage
uses: codecov/codecov-action@v4
if: matrix.os == 'ubuntu-latest'
with:
flags: integration
fail_ci_if_error: true
directory: dropbox-sdk-dotnet/Dropbox.Api.Integration.Tests/TestResults/
Linter:
strategy:
matrix:
Expand Down

0 comments on commit 3490e08

Please sign in to comment.