Skip to content

Commit

Permalink
Bump codecov/codecov-action from 3 to 4 (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Feb 3, 2024
1 parent 9884057 commit 9ad0168
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,17 @@ jobs:
- name: Test solution [Debug] with code coverage
if: ${{ startsWith(matrix.os, 'ubuntu') }}
working-directory: src
run: dotnet test --no-restore --no-build -p:CollectCoverage=true -p:DoesNotReturnAttribute="DoesNotReturnAttribute"
run: dotnet test --no-restore --no-build -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:CoverletOutput=../.coverage/ -p:DoesNotReturnAttribute="DoesNotReturnAttribute"
- name: Test solution [Debug] without code coverage
if: ${{ startsWith(matrix.os, 'windows') }}
working-directory: src
run: dotnet test --no-restore --no-build
- name: Upload coverage to codecov
if: ${{ startsWith(matrix.os, 'ubuntu') }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: .coverage/GraphQLParser.Tests/coverage.net8.opencover.xml
token: ${{ secrets.CODECOV_TOKEN }}
files: src/.coverage/*.opencover.xml

buildcheck:
needs:
Expand Down
8 changes: 0 additions & 8 deletions src/Directory.Build.targets

This file was deleted.

1 change: 0 additions & 1 deletion src/GraphQLParser.sln
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
..\.editorconfig = ..\.editorconfig
..\.gitignore = ..\.gitignore
Directory.Build.props = Directory.Build.props
Directory.Build.targets = Directory.Build.targets
graphql.snk = graphql.snk
..\LICENSE.md = ..\LICENSE.md
..\assets\logo.64x64.png = ..\assets\logo.64x64.png
Expand Down

0 comments on commit 9ad0168

Please sign in to comment.