Skip to content

Commit 2fa6fdc

Browse files
authored
CI changes (#744)
1 parent 1b7d745 commit 2fa6fdc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
dotnet-version: |
4747
3.1.x
4848
5.0.x
49-
6.0.x
49+
6.0.102
5050
source-url: https://nuget.pkg.github.com/graphql-dotnet/index.json
5151
env:
5252
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
@@ -55,9 +55,9 @@ jobs:
5555
- name: Check formatting
5656
if: ${{ startsWith(matrix.os, 'ubuntu') }}
5757
run: |
58-
dotnet tool install -g dotnet-format --version 6.0.243104 --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
59-
dotnet format --no-restore --verify-no-changes -v diag --severity warn whitespace || (echo "Run 'dotnet format' to fix whitespace issues" && exit 1)
60-
dotnet format --no-restore --verify-no-changes -v diag --severity warn analyzers || (echo "Run 'dotnet format' to fix analyzers issues" && exit 1)
58+
dotnet format --no-restore --verify-no-changes --severity warn whitespace || (echo "Run 'dotnet format' to fix whitespace issues" && exit 1)
59+
dotnet format --no-restore --verify-no-changes --severity warn analyzers || (echo "Run 'dotnet format' to fix analyzers issues" && exit 1)
60+
dotnet format --no-restore --verify-no-changes --severity warn style || (echo "Run 'dotnet format' to fix style issues" && exit 1)
6161
- name: Build solution [Release]
6262
run: dotnet build --no-restore -c Release
6363
- name: Build solution [Debug]
@@ -68,7 +68,7 @@ jobs:
6868
if: ${{ startsWith(matrix.os, 'ubuntu') }}
6969
uses: codecov/[email protected]
7070
with:
71-
files: .coverage/GraphQL.Server.Authorization.AspNetCore.Tests/coverage.net5.opencover.xml,.coverage/GraphQL.Server.Samples.Server.Tests/coverage.netcoreapp3.1.opencover.xml,.coverage/GraphQL.Server.Transports.Subscriptions.Abstractions.Tests/coverage.net5.opencover.xml,.coverage/GraphQL.Server.Transports.Subscriptions.WebSockets.Tests/coverage.net5.opencover.xml,.coverage/GraphQL.Server.Transports.AspNetCore.Tests/coverage.net5.opencover.xml
71+
files: .coverage/GraphQL.Server.Authorization.AspNetCore.Tests/coverage.net5.opencover.xml,.coverage/GraphQL.Server.Samples.Server.Tests/coverage.net5.opencover.xml,.coverage/GraphQL.Server.Transports.Subscriptions.Abstractions.Tests/coverage.net5.opencover.xml,.coverage/GraphQL.Server.Transports.Subscriptions.WebSockets.Tests/coverage.net5.opencover.xml,.coverage/GraphQL.Server.Transports.AspNetCore.Tests/coverage.net5.opencover.xml
7272

7373
buildcheck:
7474
needs:

Tests.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="$(MSBuildThisFileDirectory)Tests.local.props" Condition="Exists('$(MSBuildThisFileDirectory)Tests.local.props')" />
33

44
<PropertyGroup>
5-
<NoWarn>$(NoWarn);1591;IDE1006</NoWarn>
5+
<NoWarn>$(NoWarn);0612;1591;IDE1006</NoWarn>
66
<SingleTestPlatform Condition="'$(SingleTestPlatform)' == ''">false</SingleTestPlatform>
77
</PropertyGroup>
88

0 commit comments

Comments
 (0)